Interface IConfigKeyDefault<T>
- Namespace
- MonkeyLoader.Configuration
- Assembly
- MonkeyLoader.dll
Defines the interface for components that provide a default value for IDefiningConfigKey<T>s.
public interface IConfigKeyDefault<T> : IConfigKeyComponent<IDefiningConfigKey<T>>, IComponent<IDefiningConfigKey<T>>
Type Parameters
T
The type of the config item's value.
- Inherited Members
Methods
GetDefault()
Creates a new instance of the default value for the inner type T
of the config key.
T GetDefault()
Returns
- T
The new default value.