Class WrappedEnumStateHolder<T>
- Namespace
- ConfigurableWarning.API.State
- Assembly
- RedstoneWizard08.ContentLibrary.dll
A state holder for EnumOptions.
public sealed class WrappedEnumStateHolder<T> : StateHolder<T>
Type Parameters
T
- Inheritance
-
StateHolder<T>WrappedEnumStateHolder<T>
- Inherited Members
Properties
this[string]
Get or set an option's state.
public override T? this[string name] { get; set; }
Parameters
name
stringThe option.
Property Value
- T
Its state.
Methods
Get(string)
Get an option's state.
public T? Get(string name)
Parameters
name
stringThe option.
Returns
- T
Its state.
Set(string, T)
Set an option's state.
public void Set(string name, T value)
Parameters
name
stringThe option.
value
TThe new state.