Class ServicePreferenceMappings
The actual mapping definitions between the "pseudo" preferences an records in config, registry and possibly other tables
Inheritance
ServicePreferenceMappings
Assembly: SoDataBase.dll
Syntax
[SoInject("Process")]
public class ServicePreferenceMappings
Fields
PasswordMask
The actual mapping definitions between the "pseudo" preferences an records in config, registry and possibly other tables
Declaration
public const string PasswordMask = "•••••"
Field Value
Properties
MappedSections
The actual mapping definitions between the "pseudo" preferences an records in config, registry and possibly other tables
Declaration
public HashSet<string> MappedSections { get; }
Property Value
Mappings
The actual mapping definitions between the "pseudo" preferences an records in config, registry and possibly other tables
Declaration
public Dictionary<(string section, string key), ServicePreferenceMappings.PreferenceMappingInfo> Mappings { get; }
Property Value
Methods
AttachmentPathDecoder(string, string)
Return attachment path based on environment
Declaration
public static string AttachmentPathDecoder(string key, string rawValue)
Parameters
Returns
MappedLevel(PreferenceMappingType)
The actual mapping definitions between the "pseudo" preferences an records in config, registry and possibly other tables
Declaration
public PreferenceLevel MappedLevel(ServicePreferenceMappings.PreferenceMappingType mappingType)
Parameters
Returns
SmsPluginReassembleLine(string[])
The actual mapping definitions between the "pseudo" preferences an records in config, registry and possibly other tables
Declaration
public static string SmsPluginReassembleLine(string[] kvp)
Parameters
Type |
Name |
Description |
string[] |
kvp |
|
Returns
SmsPluginSplitAndTrimLine(string)
The actual mapping definitions between the "pseudo" preferences an records in config, registry and possibly other tables
Declaration
public static string[] SmsPluginSplitAndTrimLine(string line)
Parameters
Type |
Name |
Description |
string |
line |
|
Returns
SmtpDecoder(string, string)
Decode the complex smtp setup into separate components
Declaration
public static string SmtpDecoder(string key, string rawValue)
Parameters
Returns
SmtpEncoder(string, string, string)
Update the complex smtp setup preference
Declaration
public static string SmtpEncoder(string key, string currentField, string newPreference)
Parameters
Returns
SmtpParser(string, out string, out string, out string, out string, out string, out string, bool)
Parse the complex smtp preference - there's a test for this in Test.CoreServices.NoDb
Declaration
public static void SmtpParser(string rawValue, out string protocol, out string user, out string port, out string password, out string host, out string usessl, bool maskPassword = true)
Parameters
Extension Methods