public Updater(SymbolSearchUpdateEngine service, string source, string localSettingsDirectory) { _service = service; _source = source; _cacheDirectoryInfo = new DirectoryInfo(Path.Combine( localSettingsDirectory, "PackageCache", string.Format(Invariant($"Format{AddReferenceDatabase.TextFileFormatVersion}")))); }
public RemoteSymbolSearchUpdateEngine(Stream stream, IServiceProvider serviceProvider) : base(stream, serviceProvider) { _updateEngine = new SymbolSearchUpdateEngine( new LogService(this), updateCancellationToken: this.CancellationToken); }
public Updater(SymbolSearchUpdateEngine 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")); }