NAnt SDK Documentation - v0.92

CopyTask.FileOperation Members

CopyTask.FileOperation overview

Public Static (Shared) Methods

TargetDirectoryDoesNotExist Checks to see if the target directory does not exist or that it does match the source directory name but not string casing.
TargetIsOutdated Checks to see if a given FileSystemInfo target is considered outdated.

Public Instance Constructors

CopyTask.FileOperation Constructor Initializes a new instance of the CopyTask.FileOperation class with the source and target locations specified.

Public Instance Properties

Comparer Gets or sets the string comparer to use when comparing the source path to the target path.
OperationType Gets the type of the file operation an instance of CopyTask.FileOperation represents.
Outdated Gets a value indicating whether TargetInfo is outdated.
Source Gets the full path of SourceInfo.
SourceInfo Gets the details of the source path.
SourceType Gets the type of SourceInfo.
Target Gets the full path of TargetInfo.
TargetInfo Gets the details of the target path.
TargetType Gets the type of TargetInfo.

Public Instance Methods

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.
NormalizeTargetAttributes Normalizes the attributes of TargetInfo.
SourceEqualsTarget Checks to see whether or not the full path of SourceInfo matches the full path of TargetInfo.
SourceIsIdenticalToTarget Checks to see whether or not the full path of SourceInfo is identical to the full path of TargetInfo.
ToString Returns a String that represents the current CopyTask.FileOperation.
UpdateSource Updates the source of a given instance based on the LastWriteTime. If the LastWriteTime property of the newSource is greater than the LastWriteTime property of SourceInfo, then SourceInfo is replaced with newSource.

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

CopyTask.FileOperation Class | NAnt.Core.Tasks Namespace