CollectionItemEventHandlers<T> Class
Namespace: Hazelcast.DistributedObjects
Assembly: Hazelcast.Net.dll
Represent collection item event handlers.
public sealed class CollectionItemEventHandlers<T> : EventHandlersBase<ICollectionItemEventHandler<T>>, IEnumerable<ICollectionItemEventHandler<T>>, IEnumerable
Inherited Members
Type Parameters
T | The collection item type. |
Methods
ItemAdded(Action<IHCollection<T>, CollectionItemEventArgs<T>>) | Adds an handler which runs when an item is added. |
ItemAdded(Func<IHCollection<T>, CollectionItemEventArgs<T>, ValueTask>) | Adds an handler which runs when an item is added. |
ItemRemoved(Action<IHCollection<T>, CollectionItemEventArgs<T>>) | Adds an handler which runs when an item is removed. |
ItemRemoved(Func<IHCollection<T>, CollectionItemEventArgs<T>, ValueTask>) | Adds an handler which runs when an item is removed. |