// Methods public HashSearchTextStream(Stream stream, HashProviderDelegate hashProvider, MatchProviderDelegate matchProvider) : base(stream) { this._hashProvider = hashProvider; this._matchProvider = matchProvider; this.Initialize(); }
public HashSearchTextStream(string path, HashProviderDelegate hashProvider, MatchProviderDelegate matchProvider) : this(new FileStream(path, FileMode.OpenOrCreate), hashProvider, matchProvider) { }