Class OverrideStack<T>
Inheritance
OverrideStack<T>
Syntax
public class OverrideStack<T>
Type Parameters
Constructors
OverrideStack(T)
Declaration
public OverrideStack(T defaultValue)
Parameters
Type |
Name |
Description |
T |
defaultValue |
|
OverrideStack(Func<T>, Action<T>)
Declaration
public OverrideStack(Func<T> getValue, Action<T> setValue)
Parameters
Type |
Name |
Description |
Func<T> |
getValue |
|
Action<T> |
setValue |
|
OverrideStack(Func<T>, Action<T>, Action)
Declaration
public OverrideStack(Func<T> getValue, Action<T> setValue, Action clearValue)
Parameters
Properties
value
Declaration
Property Value
Methods
BeginOverride(T)
Declaration
public void BeginOverride(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
EndOverride()
Declaration
public void EndOverride()
Override(T)
Declaration
public OverrideLayer<T> Override(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
Operators
Implicit(OverrideStack<T> to T)
Declaration
public static implicit operator T(OverrideStack<T> stack)
Parameters
Returns
Extension Methods