예제 #1
0
        public ActorHost(int capacity, ILoggerFactory loggerFactory)
        {
            _loggerFactory = loggerFactory;
            _logger        = _loggerFactory.CreateLogger <ActorHost>();

            _registry        = new ActorRegistry(_loggerFactory.CreateLogger <ActorRegistry>());
            _actorCollection = new ActorCollection(capacity, _loggerFactory.CreateLogger <ActorCollection>());
        }