Beispiel #1
0
 public GangManager(
     ILogger <GangManager> logger,
     IGangSettings settings,
     GangCollection gangs,
     IGangControllerFactory controllerFactory,
     IGangSerializationService serializer,
     IGangManagerSequenceProvider sequence,
     GangEventExecutor <IGangManagerEvent> eventExecutor = null
     )
 {
     _logger            = logger;
     _settings          = settings;
     _gangs             = gangs;
     _controllerFactory = controllerFactory;
     _serializer        = serializer;
     _sequence          = sequence;
     _eventExecutor     = eventExecutor;
     _events            = new Subject <IGangManagerEvent>();
 }