dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Pro.Events

CollectionChangeEvent Class

Event object emitted when a Collection changes. It contains arrays of added, removed, and moved items.

public record CollectionChangeEvent<T> : System.IEquatable<dymaptic.GeoBlazor.Pro.Events.CollectionChangeEvent<T>>

Type parameters

T

The type of the items in the collection.

Inheritance System.Object 🡒 CollectionChangeEvent

Implements System.IEquatable<dymaptic.GeoBlazor.Pro.Events.CollectionChangeEvent<T>>

Constructors

CollectionChangeEvent(T[], T[], T[]) Constructor

Event object emitted when a Collection changes. It contains arrays of added, removed, and moved items.

public CollectionChangeEvent(T[] Added, T[] Removed, T[] Moved);

Parameters

Added T[]

An array of items added to the collection.

Removed T[]

An array of items removed from the collection.

Moved T[]

An array of items moved within the collection.

Properties

CollectionChangeEvent.Added Property

An array of items added to the collection.

public T[] Added { get; init; }

Property Value

T[]

CollectionChangeEvent.Moved Property

An array of items moved within the collection.

public T[] Moved { get; init; }

Property Value

T[]

CollectionChangeEvent.Removed Property

An array of items removed from the collection.

public T[] Removed { get; init; }

Property Value

T[]