-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add XML Docs to various interfaces and classes
- Loading branch information
Showing
9 changed files
with
125 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,31 @@ | ||
using System; | ||
using System.Threading.Tasks; | ||
using Prism.Ioc; | ||
|
||
namespace Prism.Services.Dialogs | ||
{ | ||
/// <summary> | ||
/// Defines a contract for displaying dialogs from ViewModels. | ||
/// </summary> | ||
public interface IDialogService | ||
{ | ||
/// <summary> | ||
/// Displays a dialog. | ||
/// </summary> | ||
/// <param name="name">The unique name of the dialog to display. Must match an entry in the <see cref="IContainerRegistry"/>.</param> | ||
/// <param name="parameters">Parameters that the dialog can use for custom functionality.</param> | ||
/// <param name="callback">The action to be invoked upon successful or failed completion of displaying the dialog.</param> | ||
/// <example> | ||
/// This example shows how to display a dialog with two parameters. | ||
/// <code> | ||
/// var parameters = new DialogParameters | ||
/// { | ||
/// { "title", "Connection Lost!" }, | ||
/// { "message", "We seem to have lost network connectivity" } | ||
/// }; | ||
/// _dialogService.ShowDialog("DemoDialog", parameters, <paramref name="callback"/>: null); | ||
/// </code> | ||
/// </example> | ||
void ShowDialog(string name, IDialogParameters parameters, Action<IDialogResult> callback); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters