private void RaiseEvents()
        {
            foreach (var evt in source.GetEvents())
            {
                this.eventBus.RaiseEvent(evt);
            }

            source.Clear();
        }
Beispiel #2
0
        private void RaiseEvents()
        {
            foreach (var evt in _source.GetEvents())
            {
                _eventBus.RaiseEvent(evt);
            }

            _source.Clear();
        }
 private void RaiseEvents(IEventSource source)
 {
     if (source == null)
     {
         throw new ArgumentNullException("source");
     }
     foreach (var evt in source.Events)
     {
         this.eventBus.RaiseEvent(evt);
     }
     source.Clear();
 }