Namespace: Lithnet.Ecma2Framework
Represents a collection of configuration parameters provided by the Synchronization Service
public interface IConfigParameters
Gets the raw configuration parameter dictionary as provided by the synchronization service
public abstract KeyedCollection<string, ConfigParameter> Parameters { get; }
KeyedCollection<String, ConfigParameter>
GetBool(String, Boolean)
Gets a boolean value from the configuration parameter set
bool GetBool(string name, bool defaultValue)
name String
The name of the configuration parameter
defaultValue Boolean
A value to provide if the key is not present or it's value is not present
Boolean
The value of the configuration parameter, or the default value if it doesn't exist
GetInt(String, Int32)
Gets an integer value from the configuration parameter set
name String
The name of the configuration parameter
defaultValue Int32
A value to provide if the key is not present or it's value is not present
Int32
The value of the configuration parameter, or the default value if it doesn't exist
GetList(String, String)
Gets a list of string values from the configuration parameter set
name String
The name of the configuration parameter
separator String
The character used a separator between string values
List<String>
The value of the configuration parameter, or the default value if it doesn't exist
GetLong(String, Int64)
Gets a long integer value from the configuration parameter set
name String
The name of the configuration parameter
defaultValue Int64
A value to provide if the key is not present or it's value is not present
Int64
The value of the configuration parameter, or the default value if it doesn't exist
GetString(String)
Gets a string value from the configuration parameter set
name String
The name of the configuration parameter
String
THe value of the configuration parameter, or null if the value doesn't exist
GetString(String, String)
Gets a string value from the configuration parameter set
name String
The name of the configuration parameter
defaultValue String
A value to provide if the key is not present or it's value is not present
String
The value of the configuration parameter, or the default value if it doesn't exist
HasValue(String)
Determines if a configuration parameter exists
name String
The name of the configuration parameter
Boolean
if the parameter is present, if it is not