Table of Contents

Interface ICollectionVariableChangeEvent<TKey, TElement>

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

Represents a generic variable change event emitted by an IReadOnlyCollectionVariable<TKey, TElement>.

public interface ICollectionVariableChangeEvent<TKey, TElement> : ICollectionVariableChangeEvent, IVariableNodeEvent where TKey : notnull where TElement : notnull

Type Parameters

TKey

Key type.

TElement

Element type.

Inherited Members

Properties

AddedElements

Collection of elements added due to this event.

IReadOnlyList<ICollectionVariableElementSnapshot<TElement>> AddedElements { get; }

Property Value

IReadOnlyList<ICollectionVariableElementSnapshot<TElement>>

RefreshedElements

Collection of elements refreshed due to this event.

IReadOnlyList<ICollectionVariableElementSnapshot<TElement>> RefreshedElements { get; }

Property Value

IReadOnlyList<ICollectionVariableElementSnapshot<TElement>>

RemovedElements

Collection of elements removed due to this event.

IReadOnlyList<ICollectionVariableElementSnapshot<TElement>> RemovedElements { get; }

Property Value

IReadOnlyList<ICollectionVariableElementSnapshot<TElement>>

ReplacedElements

Collection of elements replaced due to this event.

IReadOnlyList<ICollectionVariableElementSnapshot<TElement>> ReplacedElements { get; }

Property Value

IReadOnlyList<ICollectionVariableElementSnapshot<TElement>>

Variable

Variable node that emitted this event.

IReadOnlyCollectionVariable<TKey, TElement> Variable { get; }

Property Value

IReadOnlyCollectionVariable<TKey, TElement>