Table of Contents

Interface IReadOnlyCollectionVariable

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

Represents a type-erased read-only collection variable.

public interface IReadOnlyCollectionVariable : IVariableNode
Inherited Members
Extension Methods

Properties

ElementType

Element type.

Type ElementType { get; }

Property Value

Type

Elements

Current collection of elements.

ICollectionVariableElements Elements { get; }

Property Value

ICollectionVariableElements

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<ICollectionVariableChangeEvent> OnChange { get; }

Property Value

IEventStream<ICollectionVariableChangeEvent>

OnValidate

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

IEventStream<ICollectionVariableValidationEvent> OnValidate { get; }

Property Value

IEventStream<ICollectionVariableValidationEvent>

ValidationResultType

Validation result type.

Type ValidationResultType { get; }

Property Value

Type

Warnings

Collection of current validation warnings.

IEnumerable Warnings { get; }

Property Value

IEnumerable