Table of Contents

Interface IVariableValueChangeEvent

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

Represents a type-erased value change event emitted by an IReadOnlyVariable.

public interface IVariableValueChangeEvent : IVariableNodeEvent
Inherited Members

Properties

NewValue

Value after the change.

object? NewValue { get; }

Property Value

object

PreviousValue

Value before the change.

object? PreviousValue { get; }

Property Value

object

Source

Specifies the source of this value change.

VariableChangeSource Source { get; }

Property Value

VariableChangeSource

ValidationResultType

Variable's validation result type.

Type ValidationResultType { get; }

Property Value

Type

ValueType

Variable's value type.

Type ValueType { get; }

Property Value

Type

Variable

Variable node that emitted this event.

IReadOnlyVariable Variable { get; }

Property Value

IReadOnlyVariable