public override int GetHashCode() { return(_callback.GetHashCode()); }
public bool GetAction(Action a) { if (actions[a.GetHashCode()]) { actions[a.GetHashCode()] = false; return true; } return false; }
public static void UnregisterThreadStaticEventAppliedCallback(Action<AggregateRoot, UncommittedEvent> callback) { Log.DebugFormat("Deregistering event applied callback {0}", callback.GetHashCode()); _eventAppliedCallbacks.Value.Remove(callback); }
public void DoAction(Action a) { actions[a.GetHashCode()] = true; }
public void Action(Action a) { Console.WriteLine("action:" + a.GetHashCode()); }