C# Class NAnt.Core.BuildEventArgs

Class representing an event occurring during a build.

An event is built by specifying either a project, a task or a target.

A Project level event will only have a Project reference.

A Target level event will have Project and Target references.

A Task level event will have Project, Target and Task references.

Inheritance: System.EventArgs
Show file Open project: skolima/NAnt Class Usage Examples

Public Methods

Method Description
BuildEventArgs ( ) : System

Initializes a new instance of the BuildEventArgs class.

BuildEventArgs ( Project project ) : System

Initializes a new instance of the BuildEventArgs class for a Project level event.

BuildEventArgs ( Target target ) : System

Initializes a new instance of the BuildEventArgs class for a Target level event.

BuildEventArgs ( NAnt.Core.Task task ) : System

Initializes a new instance of the BuildEventArgs class for a Task level event.

Method Details

BuildEventArgs() public method

Initializes a new instance of the BuildEventArgs class.
public BuildEventArgs ( ) : System
return System

BuildEventArgs() public method

Initializes a new instance of the BuildEventArgs class for a Project level event.
public BuildEventArgs ( Project project ) : System
project Project The that emitted the event.
return System

BuildEventArgs() public method

Initializes a new instance of the BuildEventArgs class for a Target level event.
public BuildEventArgs ( Target target ) : System
target Target The that emitted the event.
return System

BuildEventArgs() public method

Initializes a new instance of the BuildEventArgs class for a Task level event.
public BuildEventArgs ( NAnt.Core.Task task ) : System
task NAnt.Core.Task The that emitted the event.
return System