Class ServicePreferenceMapper
Handle the mapping of some sections in userpreference to actually be stored in the config, registry and password_rules tables;
backwards compatibility with Service
Inheritance
ServicePreferenceMapper
Assembly: SoDataBase.dll
Syntax
[SoInject("Database")]
public class ServicePreferenceMapper : Object
Properties
MappedSections
Handle the mapping of some sections in userpreference to actually be stored in the config, registry and password_rules tables;
backwards compatibility with Service
Declaration
public HashSet<string> MappedSections { get; }
Property Value
Mappings
Handle the mapping of some sections in userpreference to actually be stored in the config, registry and password_rules tables;
backwards compatibility with Service
Declaration
public Dictionary<ValueTuple<string, string>, ServicePreferenceMappings.PreferenceMappingInfo> Mappings { get; }
Property Value
Methods
If the given section is one of ours, read all our mapped stuff and update the cache.
Declaration
public string[] CheckForMappingAndFetchIntoCache(string section)
Parameters
Type |
Name |
Description |
String |
section |
|
Returns
Handle the mapping of some sections in userpreference to actually be stored in the config, registry and password_rules tables;
backwards compatibility with Service
Declaration
public int CheckForMappingAndSavePreference(string section, string key, string value, int ownerId)
Parameters
Returns
FetchIndividualValues()
Handle the mapping of some sections in userpreference to actually be stored in the config, registry and password_rules tables;
backwards compatibility with Service
Declaration
public List<ValueTuple<string, string, int, string>> FetchIndividualValues()
Returns
FetchSinglePreference(String, String, PreferenceLevel, Int32)
Handle the mapping of some sections in userpreference to actually be stored in the config, registry and password_rules tables;
backwards compatibility with Service
Declaration
public ValueTuple<int, string> FetchSinglePreference(string section, string key, PreferenceLevel prefLevel, int ownerId)
Parameters
Returns
Extension Methods
EnumUtil.MapEnums<From, To>(From)