C# Class System.Waf.UnitTesting.Mocks.MockMessageService

Inheritance: IMessageService
Mostra file Open project: jbe2277/waf

Public Methods

Method Description
Clear ( ) : void

Clears the last remembered message.

ShowError ( object owner, string message ) : void

Shows the message as error.

ShowMessage ( object owner, string message ) : void

Shows the message.

ShowQuestion ( object owner, string message ) : bool?

Shows the specified question.

ShowWarning ( object owner, string message ) : void

Shows the message as warning.

ShowYesNoQuestion ( object owner, string message ) : bool

Shows the specified yes/no question.

Method Details

Clear() public method

Clears the last remembered message.
public Clear ( ) : void
return void

ShowError() public method

Shows the message as error.
public ShowError ( object owner, string message ) : void
owner object The window that owns this Message Window.
message string The message.
return void

ShowMessage() public method

Shows the message.
public ShowMessage ( object owner, string message ) : void
owner object The window that owns this Message Window.
message string The message.
return void

ShowQuestion() public method

Shows the specified question.
public ShowQuestion ( object owner, string message ) : bool?
owner object The window that owns this Message Window.
message string The question.
return bool?

ShowWarning() public method

Shows the message as warning.
public ShowWarning ( object owner, string message ) : void
owner object The window that owns this Message Window.
message string The message.
return void

ShowYesNoQuestion() public method

Shows the specified yes/no question.
public ShowYesNoQuestion ( object owner, string message ) : bool
owner object The window that owns this Message Window.
message string The question.
return bool