Class EnumStateHolder
- Namespace
- ConfigurableWarning.API.State
- Assembly
- RedstoneWizard08.ContentLibrary.dll
A state holder for EnumOptions.
public sealed class EnumStateHolder
- Inheritance
-
EnumStateHolder
- Inherited Members
Methods
Get<T>(string)
Get an option's state.
public T? Get<T>(string name)
Parameters
name
stringThe option.
Returns
- T
Its state.
Type Parameters
T
Set<T>(string, T)
Set an option's state.
public void Set<T>(string name, T value)
Parameters
name
stringThe option.
value
TThe new state.
Type Parameters
T