C# Class NAnt.Core.Tasks.GetTask

Inheritance: Task
Show file Open project: skolima/NAnt Class Usage Examples

Private Properties

Property Type Description
GetWebRequest System.Net.WebRequest

Protected Methods

Method Description
ExecuteTask ( ) : void

This is where the work is done

Initialize ( ) : void

Initializes task and ensures the supplied attributes are valid.

TouchFile ( FileInfo file, System.DateTime touchDateTime ) : void

Sets the timestamp of a given file to a specified time.

Private Methods

Method Description
GetWebRequest ( string url, System.DateTime fileLastModified ) : WebRequest

Method Details

ExecuteTask() protected method

This is where the work is done
protected ExecuteTask ( ) : void
return void

Initialize() protected method

Initializes task and ensures the supplied attributes are valid.
protected Initialize ( ) : void
return void

TouchFile() protected method

Sets the timestamp of a given file to a specified time.
protected TouchFile ( FileInfo file, System.DateTime touchDateTime ) : void
file System.IO.FileInfo
touchDateTime System.DateTime
return void