DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
A single key of a configuration that defines the name and type of the value that a ConfigValue associated with this key will handle. More...
Public Member Functions | |
ConfigKey (string name, Type valueType) | |
Constructs the key with the given name and value type. More... | |
ConfigKey (string name, object defaultValue, Type valueType) | |
Constructs the key with the given name, value type and a provided default value. More... | |
Properties | |
string | Name [get, private set] |
Gets the key name that is unique within the configuration context. More... | |
Type | ValueType [get, private set] |
Gets the Type of the value handled by this key. More... | |
object | DefaultValue [get, private set] |
Gets an optional default value that will be returned in case of missing explicitly set associated value. More... | |
A single key of a configuration that defines the name and type of the value that a ConfigValue associated with this key will handle.
A key is unique within a configuration object and when defined by a child in the configuration three, this will replace the one defined in the parent.
Keys can be aggregated by groups using a specific ConfigGroup.Separator.
Definition at line 37 of file ConfigKey.cs.
|
inline |
Constructs the key with the given name and value type.
name | The unique name of the configuration key. |
valueType | The type of compatible values this key will handle. |
This constructor does not define any default value
for missing values in a configuration, that means a request for the key will return the ValueType default.
Definition at line 48 of file ConfigKey.cs.
|
inline |
Constructs the key with the given name, value type and a provided default value.
name | The unique name of the configuration key. |
valueType | The type of compatible values this key will handle. |
defaultValue | A given default value that will be returned when a value is not explicitly associated to this key. |
Definition at line 60 of file ConfigKey.cs.
|
getprivate set |
Gets an optional default value that will be returned in case of missing explicitly set associated value.
Definition at line 85 of file ConfigKey.cs.
|
getprivate set |
Gets the key name that is unique within the configuration context.
Definition at line 74 of file ConfigKey.cs.
|
getprivate set |
Gets the Type of the value handled by this key.
Definition at line 79 of file ConfigKey.cs.