Class SettingKey<T>
- Namespace
- CarinaStudio.Configuration
- Assembly
- CarinaStudio.AppBase.Configuration.dll
Key of setting.
public class SettingKey<T> : SettingKey
Type Parameters
T
- Inheritance
-
SettingKey<T>
- Inherited Members
- Extension Methods
Constructors
SettingKey(string, T)
Initialize new SettingKey instance.
public SettingKey(string name, T defaultValue = default)
Parameters
namestringName of key.
defaultValueTDefault value.
Properties
DefaultValue
Default value.
public T DefaultValue { get; }
Property Value
- T