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
An array of items added to the collection.
An array of items removed from the collection.
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
CollectionChangeEvent.Moved Property
An array of items moved within the collection.
public T[] Moved { get; init; }
Property Value
CollectionChangeEvent.Removed Property
An array of items removed from the collection.
public T[] Removed { get; init; }