public EventMap(IEventDispatcher dispatcher, IEventBus bus, EventMapInfoPool infosPool) { _dispatcher = (EventDispatcherWithCommandProcessing)dispatcher; _bus = bus; _infos = new List <IEventMapInfo>(8); _infosPool = infosPool; }
public EventMapProvider() { _availableInstances = new Stack <IEventMap>(); _usedInstances = new List <IEventMap>(); _infoPools = new EventMapInfoPool(); }