You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 27, 2020. It is now read-only.
Mark Smith edited this page Aug 29, 2016
·
1 revision
IMessageVisualizerService
The IMessageVisualizerService provides a simple abstraction over displaying an alert or MessageBox.
Methods
ShowMessage : display an alert on the UI.
/// <summary>/// Interface to display UI "MessageBox" style prompts./// </summary>publicinterfaceIMessageVisualizerService{/// <summary>/// Show a message on the UI/// </summary>/// <returns>Async result (true/false)</returns>/// <param name="title">Title</param>/// <param name="message">Message</param>/// <param name="ok">Text for OK button</param>/// <param name="cancel">Optional text for Cancel button</param>Task<bool>ShowMessage(stringtitle,stringmessage,stringok,stringcancel=null);}