Interface IReadOnlyVariable
Represents a type-erased read-only variable.
public interface IReadOnlyVariable : IVariableNode
- Inherited Members
- Extension Methods
Properties
Errors
Collection of current validation errors.
IEnumerable Errors { get; }
Property Value
InitialValue
Initial value.
object? InitialValue { get; }
Property Value
OnChange
Event stream that emits events when variable's value changes.
IEventStream<IVariableValueChangeEvent> OnChange { get; }
Property Value
OnValidate
Event stream that emits events when variable's validation state changes.
IEventStream<IVariableValidationEvent> OnValidate { get; }
Property Value
ValidationResultType
Validation result type.
Type ValidationResultType { get; }
Property Value
Value
Current value.
object? Value { get; }
Property Value
ValueType
Value type.
Type ValueType { get; }
Property Value
Warnings
Collection of current validation warnings.
IEnumerable Warnings { get; }