Summary
Class representing an event occurring during a build.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core - Base Types
-
- EventArgs
graph BT
Type-->Base0["EventArgs"]
Type["BuildEventArgs"]
class Type type-node
Syntax
public class BuildEventArgs : EventArgs
Remarks
An event is built by specifying either a project, a task or a target.
A NAnt.Core.BuildEventArgs.Project
level event will only have a NAnt.Core.BuildEventArgs.Project
reference.
A NAnt.Core.BuildEventArgs.Target
level event will have NAnt.Core.BuildEventArgs.Project
and
NAnt.Core.BuildEventArgs.Target
references.
A NAnt.Core.BuildEventArgs.Task
level event will have NAnt.Core.BuildEventArgs.Project
,
NAnt.Core.BuildEventArgs.Target
and NAnt.Core.BuildEventArgs.Task
references.
Constructors
Name | Summary |
---|---|
BuildEventArgs |
Initializes a new instance of the NAnt.Core.BuildEventArgs
class.
|
BuildEventArgs |
Initializes a new instance of the NAnt.Core.BuildEventArgs
class for a NAnt.Core.BuildEventArgs.Project level event.
|
BuildEventArgs |
Initializes a new instance of the NAnt.Core.BuildEventArgs
class for a NAnt.Core.BuildEventArgs.Target level event.
|
BuildEventArgs |
Initializes a new instance of the NAnt.Core.BuildEventArgs
class for a NAnt.Core.BuildEventArgs.Task level event.
|
Properties
Name | Value | Summary |
---|---|---|
Exception | Exception |
Gets or sets the
NAnt.Core.BuildEventArgs.Exception associated with this event.
|
Message | string |
Gets or sets the message associated with this event.
|
MessageLevel | Level |
Gets or sets the priority level associated with this event.
|
Project | Project |
Gets the
NAnt.Core.BuildEventArgs.Project that fired this event.
|
Target | Target |
Gets the
NAnt.Core.BuildEventArgs.Target that fired this event.
|
Task | Task |
Gets the
NAnt.Core.BuildEventArgs.Task that fired this event.
|