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