Table of Contents

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
WrappedEnumStateHolder<T>
Inherited Members

Properties

this[string]

Get or set an option's state.

public override T? this[string name] { get; set; }

Parameters

name string

The option.

Property Value

T

Its state.

Methods

Get(string)

Get an option's state.

public T? Get(string name)

Parameters

name string

The option.

Returns

T

Its state.

Set(string, T)

Set an option's state.

public void Set(string name, T value)

Parameters

name string

The option.

value T

The new state.