Table of Contents

Interface IVariableNode

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

Represents a type-erased variable state node.

public interface IVariableNode
Extension Methods

Properties

OnChange

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

IEventStream<IVariableNodeEvent> OnChange { get; }

Property Value

IEventStream<IVariableNodeEvent>

OnValidate

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

IEventStream<IVariableNodeEvent> OnValidate { get; }

Property Value

IEventStream<IVariableNodeEvent>

Parent

Parent node.

IVariableNode? Parent { get; }

Property Value

IVariableNode

State

Specifies this node's current state.

VariableState State { get; }

Property Value

VariableState

Methods

GetChildren()

Returns the collection of all children nodes.

[Pure]
IEnumerable<IVariableNode> GetChildren()

Returns

IEnumerable<IVariableNode>

New IEnumerable<T> instance.