Example #1
0
        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);
                }
            }
        }
Example #2
0
 public void Dispatch(EventDefinition definition, IEventArguments args)
 {
     throw new NotImplementedException();
 }
Example #3
0
 public void Handle(IEventArguments args)
 {
     Handle((EventArguments)args);
 }