C# Class NAnt.Core.MailLogger

Inheritance: DefaultLogger
ファイルを表示 Open project: skolima/NAnt

Public Methods

Method Description
BuildFinished ( object sender, BuildEventArgs e ) : void

Signals that the last target has finished, and send an e-mail with the build results.

BuildStarted ( object sender, BuildEventArgs e ) : void

Signals that a build has started.

This event is fired before any targets have started.

MailLogger ( ) : System

Initializes a new instance of the MailLogger class.

Protected Methods

Method Description
Log ( string message ) : void

Receives and buffers log messages.

Private Methods

Method Description
AttachFiles ( MailMessage mail, Project project, string filesetID ) : void
GetPropertyValue ( PropertyDictionary properties, string name, string defaultValue, bool required ) : string

Gets the value of the specified property.

IsSSLEnabled ( PropertyDictionary properties ) : bool

Method Details

BuildFinished() public method

Signals that the last target has finished, and send an e-mail with the build results.
public BuildFinished ( object sender, BuildEventArgs e ) : void
sender object The source of the event.
e BuildEventArgs A object that contains the event data.
return void

BuildStarted() public method

Signals that a build has started.
This event is fired before any targets have started.
public BuildStarted ( object sender, BuildEventArgs e ) : void
sender object The source of the event.
e BuildEventArgs A object that contains the event data.
return void

Log() protected method

Receives and buffers log messages.
protected Log ( string message ) : void
message string The message being logged.
return void

MailLogger() public method

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