コード例 #1
0
            public Updater(SymbolSearchService service, string source)
            {
                _service = service;
                _source  = source;

                var fileName = ConvertToFileName(source);

                _databaseFileInfo = new FileInfo(
                    Path.Combine(_service._cacheDirectoryInfo.FullName, fileName + ".txt"));
            }
コード例 #2
0
            public Updater(SymbolSearchService service, string source, string localSettingsDirectory)
            {
                _service = service;
                _source  = source;

                _cacheDirectoryInfo = new DirectoryInfo(Path.Combine(
                                                            localSettingsDirectory, "PackageCache", string.Format(Invariant($"Format{AddReferenceDatabase.TextFileFormatVersion}"))));

                _databaseFileInfo = new FileInfo(
                    Path.Combine(_cacheDirectoryInfo.FullName, ConvertToFileName(source) + ".txt"));
            }
コード例 #3
0
            public Updater(SymbolSearchService service, string source, string localSettingsDirectory)
            {
                _service = service;
                _source = source;

                _cacheDirectoryInfo = new DirectoryInfo(Path.Combine(
                    localSettingsDirectory, "PackageCache", string.Format(Invariant($"Format{AddReferenceDatabase.TextFileFormatVersion}"))));

                _databaseFileInfo = new FileInfo(
                    Path.Combine(_cacheDirectoryInfo.FullName, ConvertToFileName(source) + ".txt"));
            }