C# Класс GitScc.Blinkbox.BuildNotificationLogger

Sends build messages to the VS output window
Наследование: ILogger
Показать файл Открыть проект

Открытые методы

Метод Описание
BuildNotificationLogger ( NotificationService notifications ) : System

Initializes a new instance of the BuildNotificationLogger class.

HandleError ( Microsoft.Build.Framework.BuildErrorEventArgs error ) : void

Outputs an error.

HandleMessage ( string message, MessageImportance importance = MessageImportance.Normal ) : void

Handle a raised message.

HandleWarning ( Microsoft.Build.Framework.BuildWarningEventArgs warning ) : void

Outputs a warning.

Initialize ( IEventSource buildEventSource ) : void

Initialises the logger.

Shutdown ( ) : void

Cleans up.

Приватные методы

Метод Описание
OutputMessage ( MessageImportance importance ) : bool

Decides whether a message shuld be output depending on the verbosity of the logger.

Описание методов

BuildNotificationLogger() публичный Метод

Initializes a new instance of the BuildNotificationLogger class.
public BuildNotificationLogger ( NotificationService notifications ) : System
notifications NotificationService The notifications.
Результат System

HandleError() публичный Метод

Outputs an error.
public HandleError ( Microsoft.Build.Framework.BuildErrorEventArgs error ) : void
error Microsoft.Build.Framework.BuildErrorEventArgs /// The error. ///
Результат void

HandleMessage() публичный Метод

Handle a raised message.
public HandleMessage ( string message, MessageImportance importance = MessageImportance.Normal ) : void
message string /// The message. ///
importance MessageImportance /// The importance. ///
Результат void

HandleWarning() публичный Метод

Outputs a warning.
public HandleWarning ( Microsoft.Build.Framework.BuildWarningEventArgs warning ) : void
warning Microsoft.Build.Framework.BuildWarningEventArgs /// The warning. ///
Результат void

Initialize() публичный Метод

Initialises the logger.
public Initialize ( IEventSource buildEventSource ) : void
buildEventSource IEventSource /// The event source. ///
Результат void

Shutdown() публичный Метод

Cleans up.
public Shutdown ( ) : void
Результат void