Пример #1
0
        public EventMap(IEventDispatcher dispatcher, IEventBus bus, EventMapInfoPool infosPool)
        {
            _dispatcher = (EventDispatcherWithCommandProcessing)dispatcher;
            _bus        = bus;

            _infos     = new List <IEventMapInfo>(8);
            _infosPool = infosPool;
        }
Пример #2
0
 public EventMapProvider()
 {
     _availableInstances = new Stack <IEventMap>();
     _usedInstances      = new List <IEventMap>();
     _infoPools          = new EventMapInfoPool();
 }