NAnt SDK Documentation - v0.92

CopyTask.FileOperation.UpdateSource Method 

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.

[Visual Basic]
Public Sub UpdateSource( _
   ByVal newSource As FileSystemInfo _
)
[C#]
public void UpdateSource(
   FileSystemInfo newSource
);

Parameters

newSource
The new FileSystemInfo to replace the current SourceInfo object.

See Also

CopyTask.FileOperation Class | NAnt.Core.Tasks Namespace