Table of Contents

Interface IReadOnlyVariable

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

Represents a type-erased read-only variable.

public interface IReadOnlyVariable : IVariableNode
Inherited Members
Extension Methods

Properties

Errors

Collection of current validation errors.

IEnumerable Errors { get; }

Property Value

IEnumerable

InitialValue

Initial value.

object? InitialValue { get; }

Property Value

object

OnChange

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

IEventStream<IVariableValueChangeEvent> OnChange { get; }

Property Value

IEventStream<IVariableValueChangeEvent>

OnValidate

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

IEventStream<IVariableValidationEvent> OnValidate { get; }

Property Value

IEventStream<IVariableValidationEvent>

ValidationResultType

Validation result type.

Type ValidationResultType { get; }

Property Value

Type

Value

Current value.

object? Value { get; }

Property Value

object

ValueType

Value type.

Type ValueType { get; }

Property Value

Type

Warnings

Collection of current validation warnings.

IEnumerable Warnings { get; }

Property Value

IEnumerable