private void FireInvalidEvent(string Error) { InvalidEvent Event = new InvalidEvent(Error); ThreadedEventHandler <Object, IEvent> Handler; if (EventHandlers.TryGetValue(0, out Handler)) { Handler.Fire(this, Event); } }
private void FireInvalidEvent(string Error) { InvalidEvent Event = new InvalidEvent(Error); ThreadedEventHandler<Object, IEvent> Handler; if (EventHandlers.TryGetValue(0, out Handler)) { Handler.Fire(this, Event); } }