public override void Deregister(Action <TEntity> action)
        {
            var listener = new AddedActionEventDelegator <TEntity>(action);

            if (!Listeners.Contains(listener))
            {
                Listeners.Remove(listener);
            }
        }
 public int GetHashCode(AddedActionEventDelegator <TEntity> obj)
 {
     return(_action.GetHashCode());
 }
 public bool Equals(AddedActionEventDelegator <TEntity> x, AddedActionEventDelegator <TEntity> y)
 {
     return(x._action == y._action);
 }