示例#1
0
 /// <summary>
 /// A method to show to the user a dialog with a  message. The method returns a dialog result.
 /// The header text would be default.
 /// </summary>
 /// <param name="message">The message to be shown in the dialog.</param>
 /// <param name="dialogueType">The header of the dialog.</param>
 /// <returns>The dialog result as selected by the user.</returns>
 DialogResponse IMessagingService.ShowMessage(string message, DialogType dialogueType)
 {
     return(ShowMessage(message, DefaultHeaders.GetDefaultHeader(dialogueType), dialogueType));
 }
示例#2
0
 /// <summary>
 /// A quick method to show a modal dialog to the user.
 /// The header text would be default.
 /// </summary>
 /// <param name="message">The message to be shown in the dialog.</param>
 void IMessagingService.ShowMessage(string message)
 {
     ShowMessage(message, DefaultHeaders.GetDefaultHeader(DialogType.Message), DialogType.Message);
 }