UserPreferenceHelper class

From Catglobe Wiki
Revision as of 05:31, 12 April 2017 by Nguyenduyan (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=UserPreferenceHelper |Description=A user preference helper |Constructors= {{CGscriptConstructors_Template|Description=Instanciate new helper}} |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

UserPreferenceHelper



A user preference helper

Constructors

  • () - Instanciate new helper

Methods

  • Dictionary GetAllSystemUserPreferencesByPrefType(int prefType "Unique key for the setting") - Get all existing system stored values for a given prefType.
  • Dictionary GetAllSystemUserPreferenceValuesByPrefType(int prefType "Unique key for the setting") - Get all existing system stored values for a given prefType.
  • UserPreference GetSystemUserPreference(string navName "Navigation access value was stored with", int prefType "Unique key for the setting") - Get existing system stored value.
  • UserPreference GetSystemUserPreference(string navName "Navigation access to associate the value with", int prefType "Unique key for the setting", string value "Value to store") - Create a new or update existing system stored value.
  • string ToString() - The string representation of the object.

Properties

  • string ObjectTypeName { get; } - The name of the type of object.
  • TypeInformation TypeInformation { get; } - Get information about this class.