Example #1
0
 /// <summary>
 /// Initialise a new instance of <see cref="FileSystemScanner"></see>
 /// </summary>
 /// <param name="fileFilter">The <see cref="PathFilter">file filter</see> to apply.</param>
 /// <param name="directoryFilter">The <see cref="PathFilter"> directory filter</see> to apply.</param>
 public FileSystemScanner(string fileFilter, string directoryFilter)
 {
     fileFilter_      = new PathFilter(fileFilter);
     directoryFilter_ = new PathFilter(directoryFilter);
 }
Example #2
0
 /// <summary>
 /// Initialise a new instance of <see cref="FileSystemScanner"></see>
 /// </summary>
 /// <param name="filter">The <see cref="PathFilter">file filter</see> to apply when scanning.</param>
 public FileSystemScanner(string filter)
 {
     fileFilter_ = new PathFilter(filter);
 }