public virtual void Dispose() { if (!_disposed) { _pathmatcher.Dispose(); _pathmatcher = null; _grepmatcher.Dispose(); _grepmatcher = null; _disposed = true; } }
public Matcher(DirConfig config) { this.Config = config; _pathmatcher = new PathMatcher(config); _grepmatcher = new GrepMatcher(config); }