19 namespace Deveel.Data.Configuration {
49 : this(name, null, valueType) {
60 public ConfigKey(
string name,
object defaultValue, Type valueType) {
61 if (String.IsNullOrEmpty(name))
62 throw new ArgumentNullException(
"name");
63 if (valueType == null)
64 throw new ArgumentNullException(
"valueType");
66 ValueType = valueType;
68 DefaultValue = defaultValue;
74 public string Name {
get;
private set; }
79 public Type ValueType {
get;
private set; }
85 public object DefaultValue {
get;
private set; }
A single key of a configuration that defines the name and type of the value that a ConfigValue associ...
ConfigKey(string name, object defaultValue, Type valueType)
Constructs the key with the given name, value type and a provided default value.
ConfigKey(string name, Type valueType)
Constructs the key with the given name and value type.