コード例 #1
0
ファイル: VersionService.cs プロジェクト: IksReal/GBCLV3
        public VersionService(
            GamePathService gamePathService,
            DownloadUrlService urlService,
            LibraryService libraryService,
            HttpClient client)
        {
            _gamePathService = gamePathService;
            _urlService      = urlService;
            _libraryService  = libraryService;
            _client          = client;

            _versions = new Dictionary <string, Version>(8);
        }
コード例 #2
0
ファイル: VersionService.cs プロジェクト: lotsmon/GBCLV3
        public VersionService(
            GamePathService gamePathService,
            DownloadUrlService urlService,
            LibraryService libraryService)
        {
            _gamePathService = gamePathService;
            _urlService      = urlService;
            _libraryService  = libraryService;
            _versions        = new Dictionary <string, Version>(8);

            _client = new HttpClient {
                Timeout = TimeSpan.FromSeconds(15)
            };
        }