Summary
Used to search for files on the PATH.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core - Interfaces
-
- ICloneable
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["ICloneable"]
Type["PathScanner"]
class Type type-node
Syntax
[Serializable()]
public sealed class PathScanner : ICloneable
Remarks
The local directory is not searched (since this would already be covered by normal use of the includes element).
Also, advanced pattern matching isn't supported: you need to know the exact name of the file.
Attributes
Type | Description |
---|---|
Serializable |
Methods
Name | Value | Summary |
---|---|---|
Add |
void |
Adds a file to the list of files to be scanned for.
|
Clear |
void | |
Clone |
PathScanner |
Creates a shallow copy of the
NAnt.Core.PathScanner .
|
Scan |
StringCollection |
Scans all directories in the PATH environment variable for files.
|
Scan |
StringCollection |
Scans all directories in the given environment variable for files.
|