C# Class FlatRedBall.Content.ErrorLogger

Custom implementation of the MSBuild ILogger interface records content build errors so we can later display them to the user.
Inheritance: ILogger
Mostra file Open project: vchelaru/FlatRedBall Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ErrorRaised ( object sender, Microsoft.Build.Framework.BuildErrorEventArgs e ) : void

Handles error notification events by storing the error message string.

Initialize ( IEventSource eventSource ) : void

Initializes the custom logger, hooking the ErrorRaised notification event.

Shutdown ( ) : void

Shuts down the custom logger.

Method Details

ErrorRaised() public method

Handles error notification events by storing the error message string.
public ErrorRaised ( object sender, Microsoft.Build.Framework.BuildErrorEventArgs e ) : void
sender object
e Microsoft.Build.Framework.BuildErrorEventArgs
return void

Initialize() public method

Initializes the custom logger, hooking the ErrorRaised notification event.
public Initialize ( IEventSource eventSource ) : void
eventSource IEventSource
return void

Shutdown() public method

Shuts down the custom logger.
public Shutdown ( ) : void
return void