Table of Contents

Interface IReadOnlyCollectionVariableRoot

Namespace
LfrlAnvil.Reactive.State
Assembly
LfrlAnvil.Reactive.State.dll

Represents a type-erased read-only collection variable of IVariableNode elements that listens to its children's events and propagates them.

public interface IReadOnlyCollectionVariableRoot : IVariableNode
Inherited Members
Extension Methods

Properties

ElementType

Element type.

Type ElementType { get; }

Property Value

Type

Elements

Current collection of elements.

ICollectionVariableRootElements Elements { get; }

Property Value

ICollectionVariableRootElements

Errors

Collection of current validation errors.

IEnumerable Errors { get; }

Property Value

IEnumerable

InitialElements

Initial collection of elements.

IEnumerable InitialElements { get; }

Property Value

IEnumerable

KeyType

Key type.

Type KeyType { get; }

Property Value

Type

OnChange

Event stream that emits events when variable's elements change.

IEventStream<ICollectionVariableRootChangeEvent> OnChange { get; }

Property Value

IEventStream<ICollectionVariableRootChangeEvent>

OnValidate

Event stream that emits events when variable's validation state changes.

IEventStream<ICollectionVariableRootValidationEvent> OnValidate { get; }

Property Value

IEventStream<ICollectionVariableRootValidationEvent>

ValidationResultType

Validation result type.

Type ValidationResultType { get; }

Property Value

Type

Warnings

Collection of current validation warnings.

IEnumerable Warnings { get; }

Property Value

IEnumerable