C# Class System.Waf.Applications.Services.MessageServiceExtensions

Provides method overloads for the IMessageService to simplify its usage.
Exibir arquivo Open project: jbe2277/waf

Public Methods

Method Description
ShowError ( this service, string message ) : void

Shows the message as error.

ShowMessage ( this service, string message ) : void

Shows the message.

ShowQuestion ( this service, string message ) : bool?

Shows the specified question.

ShowWarning ( this service, string message ) : void

Shows the message as warning.

ShowYesNoQuestion ( this service, string message ) : bool

Shows the specified yes/no question.

Method Details

ShowError() public static method

Shows the message as error.
The argument service must not be null.
public static ShowError ( this service, string message ) : void
service this The message service.
message string The message.
return void

ShowMessage() public static method

Shows the message.
The argument service must not be null.
public static ShowMessage ( this service, string message ) : void
service this The message service.
message string The message.
return void

ShowQuestion() public static method

Shows the specified question.
The argument service must not be null.
public static ShowQuestion ( this service, string message ) : bool?
service this The message service.
message string The question.
return bool?

ShowWarning() public static method

Shows the message as warning.
The argument service must not be null.
public static ShowWarning ( this service, string message ) : void
service this The message service.
message string The message.
return void

ShowYesNoQuestion() public static method

Shows the specified yes/no question.
The argument service must not be null.
public static ShowYesNoQuestion ( this service, string message ) : bool
service this The message service.
message string The question.
return bool