/// <summary> /// Fires ContextStop to all registered event handlers. /// </summary> public void Close() { IContextStop contextStop = new ContextStopImpl(Id); foreach (var stopHandler in _contextStopHandlers) { stopHandler.OnNext(contextStop); } }
/// <summary> /// Fires ContextStop to all registered event handlers. /// </summary> public void Close() { IContextStop contextStop = new ContextStopImpl(Id); foreach (var stopHandler in _contextStopHandlers) { stopHandler.OnNext(contextStop); } }