EntryInvalidated Method
EntryInvalidated(Action<IHMap<TKey, TValue>, MapEntryInvalidatedEventArgs<TKey, TValue>>)
Adds an handler which runs when a map entry is invalidated.
Declaration
public MapEventHandlers<TKey, TValue> EntryInvalidated(Action<IHMap<TKey, TValue>, MapEntryInvalidatedEventArgs<TKey, TValue>> handler)
Parameters
| Action<IHMap<TKey, TValue>, MapEntryInvalidatedEventArgs<TKey, TValue>> | handler | The handler. |
Returns
| MapEventHandlers<TKey, TValue> | The handlers. |
EntryInvalidated(Func<IHMap<TKey, TValue>, MapEntryInvalidatedEventArgs<TKey, TValue>, ValueTask>)
Adds an handler which runs when a map entry is invalidated.
Declaration
public MapEventHandlers<TKey, TValue> EntryInvalidated(Func<IHMap<TKey, TValue>, MapEntryInvalidatedEventArgs<TKey, TValue>, ValueTask> handler)
Parameters
| Func<IHMap<TKey, TValue>, MapEntryInvalidatedEventArgs<TKey, TValue>, ValueTask> | handler | The handler. |
Returns
| MapEventHandlers<TKey, TValue> | The handlers. |