C# Class GitScc.Blinkbox.NotificationService

Writes messages to the Pending changes window.
Inheritance: IDisposable
显示文件 Open project: blinkbox/Git-Source-Control-Provider Class Usage Examples

Private Properties

Property Type Description
ProcessMessages void
WriteMessageQueue void

Public Methods

Method Description
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.

Private Methods

Method Description
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.

Method Details

AddMessage() public method

Writes a message into our output pane.
public AddMessage ( string message ) : void
message string Message to write.
return void

ClearMessages() public method

Clears the output pane.
public ClearMessages ( ) : void
return void

DisplayError() public static method

Displays an error in a message box.
public static DisplayError ( string title, string message ) : void
title string The title.
message string The message.
return void

DisplayException() public static method

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.
return void

DisplayMessage() public static method

Displays a message in a message box.
public static DisplayMessage ( string title, string message ) : void
title string The title.
message string The message.
return void

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

NewSection() public method

Writes a new section to the output window.
public NewSection ( string name ) : void
name string /// The name. ///
return void

NotificationService() public method

Initializes a new instance of the NotificationService class.
public NotificationService ( ) : System
return System