NAnt SDK Documentation - v0.92

FileSet Members

FileSet overview

Public Static (Shared) Methods

FindMoreRecentLastWriteTimeOverloaded. Determines if a file has a more recent last write time than the given time, or no longer exists.

Public Instance Constructors

FileSet Overloaded. Initializes a new instance of the FileSet class.

Public Instance Properties

AsIs Gets the collection of files that will be added to the FileSet without pattern matching or checking if the file exists.
BaseDirectory The base of the directory of this fileset. The default is the project base directory.
CanBeReferenced (inherited from DataTypeBase) Gets a value indicating whether a reference to the type can be defined.
CaseSensitive Indicates whether include and exclude patterns must be treated in a case-sensitive way. The default is true on Unix; otherwise, false.
DefaultExcludes Indicates whether default excludes should be used or not. The default is true.
DirectoryNames Gets the collection of directory names that match the fileset.
ExcludeElements The items to exclude from the fileset.
Excludes Gets the collection of exclude patterns.
ExcludesFiles The files from which a list of patterns or files to exclude should be obtained.
FailOnEmpty When set to true, causes the fileset element to throw a ValidationException when no files match the includes and excludes criteria. The default is false.
FileNames Gets the collection of file names that match the fileset.
ID (inherited from DataTypeBase) The ID used to be referenced later.
IncludeElements The items to include in the fileset.
Includes Gets the collection of include patterns.
IncludesFiles The files from which a list of patterns or files to include should be obtained.
MostRecentLastWriteTimeFile Determines the most recently modified file in the fileset (by LastWriteTime of the FileInfo).
Name (inherited from DataTypeBase) Gets the name of the datatype.
NamespaceManager (inherited from Element) Gets or sets the XmlNamespaceManager.
Parent (inherited from Element) Gets or sets the parent of the element.
PathFiles 
Project (inherited from Element) Gets or sets the Project to which this element belongs.
Properties (inherited from Element) Gets the properties local to this Element and the Project.
RefID (inherited from DataTypeBase) The ID to use as the reference.
ScannedDirectories Gets the collection of directory names that were scanned for files.
SetExcludesObsolete. The items to exclude from the fileset.
SetIncludesObsolete. The items to include in the fileset.
SetIncludesListObsolete. The files from which a list of patterns or files to include should be obtained.

Public Instance Methods

AddPatternSet Adds a nested set of patterns, or references a standalone patternset.
Clone Creates a shallow copy of the FileSet.
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.
GetLocation (inherited from Element) Retrieves the location in the build file where the element is defined.
GetType (inherited from Object) Gets the Type of the current instance.
Initialize (inherited from Element)Overloaded. Performs default initialization.
Log (inherited from Element)Overloaded. Logs a message with the given priority.
Reset 
Scan 
ToString 

Protected Instance Properties

CustomXmlProcessing (inherited from Element) Gets a value indicating whether the element is performing additional processing using the XmlNode that was used to initialize the element.
Location (inherited from Element) Gets or sets the location in the build file where the element is defined.
XmlNode (inherited from Element) Gets or sets the XML node of the element.

Protected Instance Methods

CopyToOverloaded. Copies all instance data of the FileSet to a given FileSet.
CopyTo (inherited from DataTypeBase)Overloaded. Copies all instance data of the DataTypeBase to a given DataTypeBase.
CopyTo (inherited from Element)Overloaded. Copies all instance data of the Element to a given Element.
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.
GetAttributeConfigurationNode (inherited from Element)Overloaded. Locates the XML node for the specified attribute in the project configuration node.
InitializeOverloaded.  
InitializeElement (inherited from Element)Obsolete. Derived classes should override to this method to provide extra initialization and validation not covered by the base class.
InitializeXml (inherited from Element) Initializes all build attributes and child elements.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

Protected Internal Instance Properties

IsEverythingIncluded Indicates whether or not every file and directory is included in the fileset list.

See Also

FileSet Class | NAnt.Core.Types Namespace | PatternSet