Table of Contents

Interface IReadOnlyVariableRoot<TKey>

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

Represents a generic read-only variable root node that listens to its children's events and propagates them.

public interface IReadOnlyVariableRoot<TKey> : IReadOnlyVariableRoot, IVariableNode where TKey : notnull

Type Parameters

TKey

Child node's key type.

Inherited Members
Extension Methods

Properties

Nodes

Nested collection of child nodes.

IVariableNodeCollection<TKey> Nodes { get; }

Property Value

IVariableNodeCollection<TKey>

OnChange

Event stream that emits events when variable's value changes.

IEventStream<IVariableRootEvent<TKey>> OnChange { get; }

Property Value

IEventStream<IVariableRootEvent<TKey>>

OnValidate

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

IEventStream<IVariableRootEvent<TKey>> OnValidate { get; }

Property Value

IEventStream<IVariableRootEvent<TKey>>