Method | 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.
|
Method | 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.
|
Method | 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. |
return | 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. |
return | Task |
public ShowErrorAsync ( |
||
exception | The exception. | |
return | Task |
public ShowErrorAsync ( string message, string caption = "" ) : Task |
||
message | string | The message. |
caption | string | The caption. |
return | Task |
public ShowInformationAsync ( string message, string caption = "" ) : Task |
||
message | string | The message. |
caption | string | The caption. |
return | 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. |
return | Task |
public ShowWarningAsync ( string message, string caption = "" ) : Task |
||
message | string | The message. |
caption | string | The caption. |
return | Task |
protected static TranslateMessageBoxResult ( MessageBoxResult result ) : MessageResult | ||
result | MessageBoxResult | The result. |
return | MessageResult |
protected static TranslateMessageButton ( MessageButton button ) : MessageBoxButton | ||
button | MessageButton | The button. |
return | MessageBoxButton |