NAnt SDK Documentation - v0.92 |

# DirectoryScanner Members

DirectoryScanner overview

#### Public Instance Constructors

DirectoryScanner | Overloaded. Initializes a new instance of the DirectoryScanner class.

#### Public Instance Properties

BaseDirectory | The base directory to scan. The default is the current directory.
CaseSensitive | Gets or set a value indicating whether or not to use case-sensitive pattern matching.
DirectoryNames | Gets the list of directories that match the given patterns.
Excludes | Gets the collection of exclude patterns.
FileNames | Gets the list of files that match the given patterns.
Includes | Gets the collection of include patterns.
IsEverythingIncluded | Indicates whether or not the directory scanner included everything that it scanned.
ScannedDirectories | Gets the list of directories that were scanned for files.

#### Public Instance Methods

Clone | Creates a shallow copy of the DirectoryScanner.
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) | Serves as a hash function for a particular type.
GetType (inherited from Object) | Gets the Type of the current instance.
Scan | Uses Includes and Excludes search criteria (relative to BaseDirectory or absolute), to search for filesystem objects.
ToString (inherited from Object) | Returns a String that represents the current Object.

#### Protected Instance Methods

Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object.

#### See Also

DirectoryScanner Class | NAnt.Core Namespace