C# Class NAnt.Core.Tasks.CopyTask

Inheritance: Task
显示文件 Open project: skolima/NAnt Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CopyTask ( ) : System

Initialize new instance of the CopyTask.

Protected Methods

Method Description
CreateSourceFileNotFoundException ( string sourceFile ) : BuildException
DoFileOperations ( ) : void

Actually does the file copies.

ExecuteTask ( ) : void

Executes the Copy task.

Initialize ( ) : void

Checks whether the task is initialized with valid attributes.

Method Details

CopyTask() public method

Initialize new instance of the CopyTask.
public CopyTask ( ) : System
return System

CreateSourceFileNotFoundException() protected method

protected CreateSourceFileNotFoundException ( string sourceFile ) : BuildException
sourceFile string
return BuildException

DoFileOperations() protected method

Actually does the file copies.
protected DoFileOperations ( ) : void
return void

ExecuteTask() protected method

Executes the Copy task.
A file that has to be copied does not exist or could not be copied.
protected ExecuteTask ( ) : void
return void

Initialize() protected method

Checks whether the task is initialized with valid attributes.
protected Initialize ( ) : void
return void