/// Stash an event public void Push(IStashableEvent eventInstance) { if (_events.Count >= _maxStashSize) { throw new Exception(string.Format("Deferred event stash is full ({0})", _maxStashSize)); } _events.Enqueue(eventInstance); }
/// Stash an event public void Push(IStashableEvent eventInstance) { if (_events.Count >= _maxStashSize) { throw new Exception(string.Format("Deferred event stash is full ({0})", _maxStashSize)); } _events.Enqueue(eventInstance); }