Example #1
0
 /// <summary>
 /// Asynchronously sneds a removal notification to the listener.
 /// </summary>
 /// <param name="key"></param>
 /// <param name="value"></param>
 /// <param name="cause"></param>
 internal virtual void NotifyRemoval(K key, V value, RemovalCause cause)
 {
     Task.Run(() => RemovalListener.OnRemoval(key, value, cause));
 }
 public void OnRemoval(K key, V value, RemovalCause cause)
 {
     @delegate.OnRemoval(key, value, cause);
 }