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

Provides method overloads for the IMessageService to simplify its usage.
Afficher le fichier Open project: jbe2277/waf

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

ShowMessage() public static méthode

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.
Résultat void

ShowQuestion() public static méthode

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.
Résultat bool?

ShowWarning() public static méthode

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.
Résultat void

ShowYesNoQuestion() public static méthode

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.
Résultat bool