FileSet.

FindMoreRecentLastWriteTime(StringCollection, DateTime) Method

Summary

Determines if one of the given files has a more recent last write time than the given time. If one of the given files no longer exists, the target will be considered out-of-date.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Types
Containing Type
FileSet

Syntax

public static string FindMoreRecentLastWriteTime(StringCollection fileNames, DateTime targetLastWriteTime)

Parameters

Name Type Description
fileNames StringCollection A collection of filenames to check the last write time against.
targetLastWriteTime DateTime The datetime to compare against.

Return Value

Type Description
string The name of the first file that has a last write time greater than targetLastWriteTime; otherwise, null.