C# Класс System.Waf.UnitTesting.Mocks.MockMessageService

Наследование: IMessageService
Показать файл Открыть проект

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

Метод Описание
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.

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

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

Clears the last remembered message.
public Clear ( ) : void
Результат void

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

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.
Результат void

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

Shows the message.
public ShowMessage ( object owner, string message ) : void
owner object The window that owns this Message Window.
message string The message.
Результат void

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

Shows the specified question.
public ShowQuestion ( object owner, string message ) : bool?
owner object The window that owns this Message Window.
message string The question.
Результат bool?

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

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.
Результат void

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

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.
Результат bool