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