public void Run() { var events = _botsEventsDispatcher.EventsStore.Events; foreach (var next in events) { IEventArguments args = null; var isTrigered = next.Trigger.Check(out args); if (isTrigered) { _eventRisingQueue.Enqueue(next, args); } } }
public void Dispatch(EventDefinition definition, IEventArguments args) { throw new NotImplementedException(); }
public void Handle(IEventArguments args) { Handle((EventArguments)args); }