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

Writes messages to the Pending changes window.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ProcessMessages void
WriteMessageQueue void

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

Метод Описание
AddMessage ( string message ) : void

Writes a message into our output pane.

ClearMessages ( ) : void

Clears the output pane.

DisplayError ( string title, string message ) : void

Displays an error in a message box.

DisplayException ( Exception e, string title = null, string message = null ) : void

Displays the exception.

DisplayMessage ( string title, string message ) : void

Displays a message in a message box.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

NewSection ( string name ) : void

Writes a new section to the output window.

NotificationService ( ) : System

Initializes a new instance of the NotificationService class.

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

Метод Описание
ProcessMessages ( ) : void

Periodically checks for messages and writes them to the output window.

WriteMessageQueue ( ) : void

Writes all mesages in the queue to the output window.

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

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

Writes a message into our output pane.
public AddMessage ( string message ) : void
message string Message to write.
Результат void

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

Clears the output pane.
public ClearMessages ( ) : void
Результат void

DisplayError() публичный статический Метод

Displays an error in a message box.
public static DisplayError ( string title, string message ) : void
title string The title.
message string The message.
Результат void

DisplayException() публичный статический Метод

Displays the exception.
public static DisplayException ( Exception e, string title = null, string message = null ) : void
e System.Exception The exception.
title string The title.
message string The message.
Результат void

DisplayMessage() публичный статический Метод

Displays a message in a message box.
public static DisplayMessage ( string title, string message ) : void
title string The title.
message string The message.
Результат void

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

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

Writes a new section to the output window.
public NewSection ( string name ) : void
name string /// The name. ///
Результат void

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

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