Cleared Method
Cleared(Action<IHMultiMap<TKey, TValue>, MapClearedEventArgs>)
Adds an handler which runs when the map is cleared.
Declaration
public MultiMapEventHandlers<TKey, TValue> Cleared(Action<IHMultiMap<TKey, TValue>, MapClearedEventArgs> handler)
Parameters
Action<IHMultiMap<TKey, TValue>, MapClearedEventArgs> | handler | The handler. |
Returns
MultiMapEventHandlers<TKey, TValue> | The handlers. |
Cleared(Func<IHMultiMap<TKey, TValue>, MapClearedEventArgs, ValueTask>)
Adds an handler which runs when the map is cleared.
Declaration
public MultiMapEventHandlers<TKey, TValue> Cleared(Func<IHMultiMap<TKey, TValue>, MapClearedEventArgs, ValueTask> handler)
Parameters
Func<IHMultiMap<TKey, TValue>, MapClearedEventArgs, ValueTask> | handler | The handler. |
Returns
MultiMapEventHandlers<TKey, TValue> | The handlers. |