Méthode | Description | |
---|---|---|
Dispose ( ) : void | ||
IdeBuildLogger ( IVsOutputWindowPane output, Microsoft.VisualStudio.Shell.TaskProvider taskProvider, IVsHierarchy hierarchy ) : System |
Constructor. Initialize member data.
|
|
Initialize ( IEventSource eventSource ) : void |
Overridden from the Logger class.
|
Méthode | Description | |
---|---|---|
BeginInvokeWithErrorMessage ( IServiceProvider serviceProvider, |
Call Dispatcher.BeginInvoke, showing an error message if there was a non-critical exception.
|
|
BuildFinishedHandler ( object sender, Microsoft.Build.Framework.BuildFinishedEventArgs buildEvent ) : void |
This is the delegate for BuildFinishedHandler events.
|
|
BuildStartedHandler ( object sender, Microsoft.Build.Framework.BuildStartedEventArgs buildEvent ) : void |
This is the delegate for BuildStartedHandler events.
|
|
CallWithErrorMessage ( IServiceProvider serviceProvider, System.Action action ) : void |
Show error message if exception is caught when invoking a method
|
|
ClearCachedVerbosity ( ) : void |
Clear the cached verbosity, so that it will be re-evaluated from the build verbosity registry key.
|
|
ClearQueuedOutput ( ) : void | ||
ClearQueuedTasks ( ) : void | ||
CustomHandler ( object sender, Microsoft.Build.Framework.CustomBuildEventArgs buildEvent ) : void |
This is the delegate for CustomHandler events.
|
|
Dispose ( bool disposing ) : void | ||
ErrorHandler ( object sender, Microsoft.Build.Framework.BuildErrorEventArgs errorEvent ) : void |
This is the delegate for error events.
|
|
GetFormattedErrorMessage ( string fileName, int line, int column, bool isWarning, string errorNumber, string errorText ) : string |
Format error messages for the task list
|
|
IndentOutput ( ) : void | ||
LogAtImportance ( MessageImportance importance ) : bool |
This method takes a MessageImportance and returns
|
|
MessageHandler ( object sender, Microsoft.Build.Framework.BuildMessageEventArgs messageEvent ) : void |
This is the delegate for Message event types
|
|
NavigateTo ( object sender, |
||
ProjectFinishedHandler ( object sender, Microsoft.Build.Framework.ProjectFinishedEventArgs buildEvent ) : void |
This is the delegate for ProjectFinishedHandler events.
|
|
ProjectStartedHandler ( object sender, Microsoft.Build.Framework.ProjectStartedEventArgs buildEvent ) : void |
This is the delegate for ProjectStartedHandler events.
|
|
QueueOutputEvent ( MessageImportance importance, Microsoft.Build.Framework.BuildEventArgs buildEvent ) : void | ||
QueueOutputText ( MessageImportance importance, string text ) : void | ||
QueueOutputText ( string text ) : void | ||
QueueTaskEvent ( Microsoft.Build.Framework.BuildEventArgs errorEvent ) : void | ||
ReportQueuedOutput ( ) : void | ||
ReportQueuedTasks ( ) : void | ||
SetVerbosity ( ) : void |
Sets the verbosity level.
|
|
ShowErrorMessage ( IServiceProvider serviceProvider, |
Show error window about the exception
|
|
TargetFinishedHandler ( object sender, Microsoft.Build.Framework.TargetFinishedEventArgs buildEvent ) : void |
This is the delegate for TargetFinishedHandler events.
|
|
TargetStartedHandler ( object sender, Microsoft.Build.Framework.TargetStartedEventArgs buildEvent ) : void |
This is the delegate for TargetStartedHandler events.
|
|
TaskFinishedHandler ( object sender, Microsoft.Build.Framework.TaskFinishedEventArgs buildEvent ) : void |
This is the delegate for TaskFinishedHandler events.
|
|
TaskStartedHandler ( object sender, Microsoft.Build.Framework.TaskStartedEventArgs buildEvent ) : void |
This is the delegate for TaskStartedHandler events.
|
|
UnindentOutput ( ) : void | ||
WarningHandler ( object sender, Microsoft.Build.Framework.BuildWarningEventArgs warningEvent ) : void |
This is the delegate for warning events.
|
protected static BeginInvokeWithErrorMessage ( IServiceProvider serviceProvider, |
||
serviceProvider | IServiceProvider | service provider |
dispatcher | dispatcher | |
action | System.Action | action to invoke |
Résultat | void |
protected BuildFinishedHandler ( object sender, Microsoft.Build.Framework.BuildFinishedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.BuildFinishedEventArgs | |
Résultat | void |
protected BuildStartedHandler ( object sender, Microsoft.Build.Framework.BuildStartedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.BuildStartedEventArgs | |
Résultat | void |
protected static CallWithErrorMessage ( IServiceProvider serviceProvider, System.Action action ) : void | ||
serviceProvider | IServiceProvider | service provider |
action | System.Action | action to invoke |
Résultat | void |
protected CustomHandler ( object sender, Microsoft.Build.Framework.CustomBuildEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.CustomBuildEventArgs | |
Résultat | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
protected ErrorHandler ( object sender, Microsoft.Build.Framework.BuildErrorEventArgs errorEvent ) : void | ||
sender | object | |
errorEvent | Microsoft.Build.Framework.BuildErrorEventArgs | |
Résultat | void |
protected GetFormattedErrorMessage ( string fileName, int line, int column, bool isWarning, string errorNumber, string errorText ) : string | ||
fileName | string | |
line | int | |
column | int | |
isWarning | bool | |
errorNumber | string | |
errorText | string | |
Résultat | string |
public IdeBuildLogger ( IVsOutputWindowPane output, Microsoft.VisualStudio.Shell.TaskProvider taskProvider, IVsHierarchy hierarchy ) : System | ||
output | IVsOutputWindowPane | |
taskProvider | Microsoft.VisualStudio.Shell.TaskProvider | |
hierarchy | IVsHierarchy | |
Résultat | System |
public Initialize ( IEventSource eventSource ) : void | ||
eventSource | IEventSource | |
Résultat | void |
protected LogAtImportance ( MessageImportance importance ) : bool | ||
importance | MessageImportance | |
Résultat | bool |
protected MessageHandler ( object sender, Microsoft.Build.Framework.BuildMessageEventArgs messageEvent ) : void | ||
sender | object | |
messageEvent | Microsoft.Build.Framework.BuildMessageEventArgs | |
Résultat | void |
protected NavigateTo ( object sender, |
||
sender | object | |
arguments | ||
Résultat | void |
protected ProjectFinishedHandler ( object sender, Microsoft.Build.Framework.ProjectFinishedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.ProjectFinishedEventArgs | |
Résultat | void |
protected ProjectStartedHandler ( object sender, Microsoft.Build.Framework.ProjectStartedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.ProjectStartedEventArgs | |
Résultat | void |
protected QueueOutputEvent ( MessageImportance importance, Microsoft.Build.Framework.BuildEventArgs buildEvent ) : void | ||
importance | MessageImportance | |
buildEvent | Microsoft.Build.Framework.BuildEventArgs | |
Résultat | void |
protected QueueOutputText ( MessageImportance importance, string text ) : void | ||
importance | MessageImportance | |
text | string | |
Résultat | void |
protected QueueOutputText ( string text ) : void | ||
text | string | |
Résultat | void |
protected QueueTaskEvent ( Microsoft.Build.Framework.BuildEventArgs errorEvent ) : void | ||
errorEvent | Microsoft.Build.Framework.BuildEventArgs | |
Résultat | void |
protected static ShowErrorMessage ( IServiceProvider serviceProvider, |
||
serviceProvider | IServiceProvider | service provider |
exception | exception | |
Résultat | void |
protected TargetFinishedHandler ( object sender, Microsoft.Build.Framework.TargetFinishedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.TargetFinishedEventArgs | |
Résultat | void |
protected TargetStartedHandler ( object sender, Microsoft.Build.Framework.TargetStartedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.TargetStartedEventArgs | |
Résultat | void |
protected TaskFinishedHandler ( object sender, Microsoft.Build.Framework.TaskFinishedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.TaskFinishedEventArgs | |
Résultat | void |
protected TaskStartedHandler ( object sender, Microsoft.Build.Framework.TaskStartedEventArgs buildEvent ) : void | ||
sender | object | |
buildEvent | Microsoft.Build.Framework.TaskStartedEventArgs | |
Résultat | void |
protected WarningHandler ( object sender, Microsoft.Build.Framework.BuildWarningEventArgs warningEvent ) : void | ||
sender | object | |
warningEvent | Microsoft.Build.Framework.BuildWarningEventArgs | |
Résultat | void |