Méthode | Description | |
---|---|---|
MessageService ( IDispatcherService dispatcherService ) : System |
Initializes a new instance of the MessageService class.
|
|
ShowAsync ( string message, string caption = "", MessageButton button = MessageButton.OK, MessageImage icon = MessageImage.None ) : Task |
Shows an information message to the user and allows a callback operation when the message is completed.
|
|
ShowErrorAsync ( |
Shows an error message to the user and allows a callback operation when the message is completed.
|
|
ShowErrorAsync ( string message, string caption = "" ) : Task |
Shows an error message to the user and allows a callback operation when the message is completed.
|
|
ShowInformationAsync ( string message, string caption = "" ) : Task |
Shows an information message to the user and allows a callback operation when the message is completed.
|
|
ShowWarningAsync ( string message, string caption = "" ) : Task |
Shows a warning message to the user and allows a callback operation when the message is completed.
|
Méthode | Description | |
---|---|---|
ShowMessageBoxAsync ( string message, string caption = "", MessageButton button = MessageButton.OK, MessageImage icon = MessageImage.None ) : Task |
Shows the message box.
|
|
TranslateMessageBoxResult ( MessageBoxResult result ) : MessageResult |
Translates the message box result.
|
|
TranslateMessageButton ( MessageButton button ) : MessageBoxButton |
Translates the message button.
|
Méthode | Description | |
---|---|---|
Initialize ( ) : void |
Called at the end of constructors.
|
|
Show ( string message, string caption = "", MessageButton button = MessageButton.OK, MessageImage icon = MessageImage.None ) : Task |
||
ShowError ( |
||
ShowError ( string message, string caption = "" ) : Task |
||
ShowInformation ( string message, string caption = "" ) : Task |
||
ShowWarning ( string message, string caption = "" ) : Task |
public MessageService ( IDispatcherService dispatcherService ) : System | ||
dispatcherService | IDispatcherService | The dispatcher service. |
Résultat | System |
public ShowAsync ( string message, string caption = "", MessageButton button = MessageButton.OK, MessageImage icon = MessageImage.None ) : Task |
||
message | string | The message. |
caption | string | The caption. |
button | MessageButton | The button. |
icon | MessageImage | The icon. |
Résultat | Task |
public ShowErrorAsync ( |
||
exception | The exception. | |
Résultat | Task |
public ShowErrorAsync ( string message, string caption = "" ) : Task |
||
message | string | The message. |
caption | string | The caption. |
Résultat | Task |
public ShowInformationAsync ( string message, string caption = "" ) : Task |
||
message | string | The message. |
caption | string | The caption. |
Résultat | Task |
protected ShowMessageBoxAsync ( string message, string caption = "", MessageButton button = MessageButton.OK, MessageImage icon = MessageImage.None ) : Task |
||
message | string | The message. |
caption | string | The caption. |
button | MessageButton | The button. |
icon | MessageImage | The icon. |
Résultat | Task |
public ShowWarningAsync ( string message, string caption = "" ) : Task |
||
message | string | The message. |
caption | string | The caption. |
Résultat | Task |
protected static TranslateMessageBoxResult ( MessageBoxResult result ) : MessageResult | ||
result | MessageBoxResult | The result. |
Résultat | MessageResult |
protected static TranslateMessageButton ( MessageButton button ) : MessageBoxButton | ||
button | MessageButton | The button. |
Résultat | MessageBoxButton |