EntryRemoved Method
EntryRemoved(Action<IHMultiMap<TKey, TValue>, MapEntryRemovedEventArgs<TKey, TValue>>)
Adds an handler which runs when a map entry is removed.
Declaration
public MultiMapEventHandlers<TKey, TValue> EntryRemoved(Action<IHMultiMap<TKey, TValue>, MapEntryRemovedEventArgs<TKey, TValue>> handler)
Parameters
| Action<IHMultiMap<TKey, TValue>, MapEntryRemovedEventArgs<TKey, TValue>> | handler | The handler. |
Returns
| MultiMapEventHandlers<TKey, TValue> | The handlers. |
EntryRemoved(Func<IHMultiMap<TKey, TValue>, MapEntryRemovedEventArgs<TKey, TValue>, ValueTask>)
Adds an handler which runs when a map entry is removed.
Declaration
public MultiMapEventHandlers<TKey, TValue> EntryRemoved(Func<IHMultiMap<TKey, TValue>, MapEntryRemovedEventArgs<TKey, TValue>, ValueTask> handler)
Parameters
| Func<IHMultiMap<TKey, TValue>, MapEntryRemovedEventArgs<TKey, TValue>, ValueTask> | handler | The handler. |
Returns
| MultiMapEventHandlers<TKey, TValue> | The handlers. |