Пример #1
0
        public void InstallGameServer(GameServer gameServer)
        {
            var    fileProvider = _fileProvider.GetGameFileManager(gameServer);
            Action action       = () => fileProvider.DownloadGameServerFiles(gameServer);

            _backgroundService.AddTask(new GenericBackgroundTask(action, _logFactory, string.Format("Install Game Server {0}", gameServer.Game.Id)));
        }