Interface IReadOnlyCollectionVariableRoot<TKey, TElement, TValidationResult>
Represents a generic read-only collection variable of VariableNode elements that listens to its children's events and propagates them.
public interface IReadOnlyCollectionVariableRoot<TKey, TElement, TValidationResult> : IReadOnlyCollectionVariableRoot<TKey, TElement>, IReadOnlyCollectionVariableRoot, IVariableNode where TKey : notnull where TElement : VariableNode
Type Parameters
TKeyKey type.
TElementElement type.
TValidationResultValidation result type.
- Inherited Members
- Extension Methods
Properties
Errors
Collection of current validation errors.
Chain<TValidationResult> Errors { get; }
Property Value
- Chain<TValidationResult>
ErrorsValidator
Collection of elements validator that marks result as errors.
IValidator<ICollectionVariableRootElements<TKey, TElement>, TValidationResult> ErrorsValidator { get; }
Property Value
- IValidator<ICollectionVariableRootElements<TKey, TElement>, TValidationResult>
OnChange
Event stream that emits events when variable's elements change.
IEventStream<CollectionVariableRootChangeEvent<TKey, TElement, TValidationResult>> OnChange { get; }
Property Value
- IEventStream<CollectionVariableRootChangeEvent<TKey, TElement, TValidationResult>>
OnValidate
Event stream that emits events when variable's validation state changes.
IEventStream<CollectionVariableRootValidationEvent<TKey, TElement, TValidationResult>> OnValidate { get; }
Property Value
- IEventStream<CollectionVariableRootValidationEvent<TKey, TElement, TValidationResult>>
Warnings
Collection of current validation warnings.
Chain<TValidationResult> Warnings { get; }
Property Value
- Chain<TValidationResult>
WarningsValidator
Collection of elements validator that marks result as warnings.
IValidator<ICollectionVariableRootElements<TKey, TElement>, TValidationResult> WarningsValidator { get; }
Property Value
- IValidator<ICollectionVariableRootElements<TKey, TElement>, TValidationResult>