/// <summary>
		/// Initialise a new instance of <see cref="FileSystemScanner"></see>
		/// </summary>
		/// <param name="fileFilter">The <see cref="NameFilter">file filter</see> to apply.</param>
		/// <param name="directoryFilter">The <see cref="NameFilter">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="fileFilter">The <see cref="NameFilter">file filter</see> to apply.</param>
 /// <param name="directoryFilter">The <see cref="NameFilter">directory filter</see> to apply.</param>
 public FileSystemScanner(string fileFilter, string directoryFilter)
 {
     fileFilter_      = new PathFilter(fileFilter);
     directoryFilter_ = new PathFilter(directoryFilter);
 }
		/// <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);
		}
Example #4
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);
 }