public EventPublishCatchAllHandlerResult(ICatchAllEventHandler handler, EventHandlerExecutionCode executionCode, Exception error) { Handler = handler; ExecutionCode = executionCode; Error = error; }
public void Add(ICatchAllEventHandler handler) { if (disposing || disposed) { return; } CatchAllEventHandlers[handler] = 0; }
public void Remove(ICatchAllEventHandler handler) { if (disposing || disposed) { return; } CatchAllEventHandlers.Remove(handler); }
/// <summary> /// <inheritdoc /> /// </summary> /// <param name="handler"></param> public void UnregisterCatchAllHandler(ICatchAllEventHandler handler) { if (handler == null) { return; } UnregisterCatchAllHandler(new[] { handler }); }