Interface IReadOnlyModifiableProperty<T>
Namespace: MackySoft.Modiferty
Assembly: cs.temp.dll.dll
Syntax
public interface IReadOnlyModifiableProperty<T>
Type Parameters
Name | Description |
---|---|
T |
Properties
BaseValue
Base value before the evaluation.
Declaration
T BaseValue { get; }
Property Value
Type | Description |
---|---|
T |
HasModifiers
Whether has modifiers.
This is used to avoid creating unnecessary ModifierList.
Declaration
bool HasModifiers { get; }
Property Value
Type | Description |
---|---|
Boolean |
Modifiers
List of IModifier<T> to evaluate base value.
Declaration
IReadOnlyModifierList<T> Modifiers { get; }
Property Value
Type | Description |
---|---|
IReadOnlyModifierList<T> |
Methods
Evaluate()
Evaluate the base value by modifiers.
Declaration
T Evaluate()
Returns
Type | Description |
---|---|
T |