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);
 }
		/// <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 #3
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);
 }
		/// <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);
		}