C# Class PKStudio.Helpers.MSBuildOutputLogger

Inheritance: Logger, ILoggable, IDisposable
ファイルを表示 Open project: AlexandrSurkov/PKStudio Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Initialize ( IEventSource eventSource ) : void
MSBuildOutputLogger ( ) : System
Shutdown ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnBuildStep ( ) : void
OnError ( WEMessage Error ) : void
OnLogFinished ( ErrorsAndWarningsList ErrorsAndWarningsList ) : void
OnLogStarted ( ) : void
OnMessage ( string message ) : void
OnWarning ( WEMessage Warning ) : void

Private Methods

Method Description
AddMessage ( object sender, EventArgs args, MessageType type ) : void
GetMFObjectFromProjectFile ( string path ) : object
WorkerDone ( object sender, RunWorkerCompletedEventArgs e ) : void
WorkerThread ( object sender, DoWorkEventArgs e ) : void
WriteIntent ( ) : void
WriteLine ( string str ) : void
WriteLine ( string line, Microsoft.Build.Framework.BuildEventArgs e ) : void

Just write a line to the log

WriteLineWithIntent ( string line ) : void
WriteLineWithSenderAndMessage ( string line, Microsoft.Build.Framework.BuildEventArgs e ) : void

Write a line to the log, adding the SenderName and Message (these parameters are on all MSBuild event argument objects)

eventSource_BuildFinished ( object sender, Microsoft.Build.Framework.BuildFinishedEventArgs e ) : void
eventSource_BuildFinished_add ( object sender, Microsoft.Build.Framework.BuildFinishedEventArgs e ) : void
eventSource_BuildStarted ( object sender, Microsoft.Build.Framework.BuildStartedEventArgs e ) : void
eventSource_BuildStarted_add ( object sender, Microsoft.Build.Framework.BuildStartedEventArgs e ) : void
eventSource_CustomEventRaised ( object sender, Microsoft.Build.Framework.CustomBuildEventArgs e ) : void
eventSource_CustomEventRaised_add ( object sender, Microsoft.Build.Framework.CustomBuildEventArgs e ) : void
eventSource_ErrorRaised ( object sender, Microsoft.Build.Framework.BuildErrorEventArgs e ) : void
eventSource_ErrorRaised_add ( object sender, Microsoft.Build.Framework.BuildErrorEventArgs e ) : void
eventSource_MessageRaised ( object sender, Microsoft.Build.Framework.BuildMessageEventArgs e ) : void
eventSource_MessageRaised_add ( object sender, Microsoft.Build.Framework.BuildMessageEventArgs e ) : void
eventSource_ProjectFinished ( object sender, Microsoft.Build.Framework.ProjectFinishedEventArgs e ) : void
eventSource_ProjectFinished_add ( object sender, Microsoft.Build.Framework.ProjectFinishedEventArgs e ) : void
eventSource_ProjectStarted ( object sender, Microsoft.Build.Framework.ProjectStartedEventArgs e ) : void
eventSource_ProjectStarted_add ( object sender, Microsoft.Build.Framework.ProjectStartedEventArgs e ) : void
eventSource_StatusEventRaised ( object sender, Microsoft.Build.Framework.BuildStatusEventArgs e ) : void
eventSource_StatusEventRaised_add ( object sender, Microsoft.Build.Framework.BuildStatusEventArgs e ) : void
eventSource_TargetFinished ( object sender, Microsoft.Build.Framework.TargetFinishedEventArgs e ) : void
eventSource_TargetFinished_add ( object sender, Microsoft.Build.Framework.TargetFinishedEventArgs e ) : void
eventSource_TargetStarted ( object sender, Microsoft.Build.Framework.TargetStartedEventArgs e ) : void
eventSource_TargetStarted_add ( object sender, Microsoft.Build.Framework.TargetStartedEventArgs e ) : void
eventSource_TaskFinished ( object sender, Microsoft.Build.Framework.TaskFinishedEventArgs e ) : void
eventSource_TaskFinished_add ( object sender, Microsoft.Build.Framework.TaskFinishedEventArgs e ) : void
eventSource_TaskStarted ( object sender, Microsoft.Build.Framework.TaskStartedEventArgs e ) : void
eventSource_TaskStarted_add ( object sender, Microsoft.Build.Framework.TaskStartedEventArgs e ) : void
eventSource_WarningRaised ( object sender, Microsoft.Build.Framework.BuildWarningEventArgs e ) : void
eventSource_WarningRaised_add ( object sender, Microsoft.Build.Framework.BuildWarningEventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Initialize() public method

public Initialize ( IEventSource eventSource ) : void
eventSource IEventSource
return void

MSBuildOutputLogger() public method

public MSBuildOutputLogger ( ) : System
return System

OnBuildStep() protected method

protected OnBuildStep ( ) : void
return void

OnError() protected method

protected OnError ( WEMessage Error ) : void
Error WEMessage
return void

OnLogFinished() protected method

protected OnLogFinished ( ErrorsAndWarningsList ErrorsAndWarningsList ) : void
ErrorsAndWarningsList ErrorsAndWarningsList
return void

OnLogStarted() protected method

protected OnLogStarted ( ) : void
return void

OnMessage() protected method

protected OnMessage ( string message ) : void
message string
return void

OnWarning() protected method

protected OnWarning ( WEMessage Warning ) : void
Warning WEMessage
return void

Shutdown() public method

public Shutdown ( ) : void
return void