ItemRemoved Method
ItemRemoved(Action<IHCollection<T>, CollectionItemEventArgs<T>>)
Adds an handler which runs when an item is removed.
Declaration
public CollectionItemEventHandlers<T> ItemRemoved(Action<IHCollection<T>, CollectionItemEventArgs<T>> handler)
Parameters
Action<IHCollection<T>, CollectionItemEventArgs<T>> | handler | The handler. |
Returns
CollectionItemEventHandlers<T> | The handlers. |
ItemRemoved(Func<IHCollection<T>, CollectionItemEventArgs<T>, ValueTask>)
Adds an handler which runs when an item is removed.
Declaration
public CollectionItemEventHandlers<T> ItemRemoved(Func<IHCollection<T>, CollectionItemEventArgs<T>, ValueTask> handler)
Parameters
Func<IHCollection<T>, CollectionItemEventArgs<T>, ValueTask> | handler | The handler. |
Returns
CollectionItemEventHandlers<T> | The handlers. |