From 0cc89bd1c5221a2923d70092880774fa6c335a71 Mon Sep 17 00:00:00 2001 From: niimima Date: Thu, 25 Aug 2022 11:56:06 +0900 Subject: [PATCH 1/3] Update IDialogResult and DialogResult --- .../Prism.Forms/Services/Dialogs/DialogResult.cs | 11 +++++++++++ .../Prism.Forms/Services/Dialogs/IDialogResult.cs | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/src/Forms/Prism.Forms/Services/Dialogs/DialogResult.cs b/src/Forms/Prism.Forms/Services/Dialogs/DialogResult.cs index 4c76431a30..9e8e01c0c0 100644 --- a/src/Forms/Prism.Forms/Services/Dialogs/DialogResult.cs +++ b/src/Forms/Prism.Forms/Services/Dialogs/DialogResult.cs @@ -5,9 +5,20 @@ namespace Prism.Services.Dialogs { + /// + /// An that contains from the dialog + /// and the of the dialog. + /// internal class DialogResult : IDialogResult { + /// + /// The exception of the dialog. + /// public Exception Exception { get; set; } + + /// + /// The parameters from the dialog. + /// public IDialogParameters Parameters { get; set; } } } diff --git a/src/Forms/Prism.Forms/Services/Dialogs/IDialogResult.cs b/src/Forms/Prism.Forms/Services/Dialogs/IDialogResult.cs index a36fdf9738..7a899ed1c9 100644 --- a/src/Forms/Prism.Forms/Services/Dialogs/IDialogResult.cs +++ b/src/Forms/Prism.Forms/Services/Dialogs/IDialogResult.cs @@ -2,9 +2,20 @@ namespace Prism.Services.Dialogs { + /// + /// Contains from the dialog + /// and the of the dialog. + /// public interface IDialogResult { + /// + /// The exception of the dialog. + /// Exception Exception { get; } + + /// + /// The parameters from the dialog. + /// IDialogParameters Parameters { get; } } } From 6ca04fd0bf212b76b5a7f735410bd5134597a9f5 Mon Sep 17 00:00:00 2001 From: niimima Date: Fri, 26 Aug 2022 19:23:05 +0900 Subject: [PATCH 2/3] Update IDialogResult and DialogResult comments --- .../Prism.Forms/Services/Dialogs/DialogResult.cs | 11 +++-------- .../Prism.Forms/Services/Dialogs/IDialogResult.cs | 7 +++---- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/Forms/Prism.Forms/Services/Dialogs/DialogResult.cs b/src/Forms/Prism.Forms/Services/Dialogs/DialogResult.cs index 9e8e01c0c0..e323485378 100644 --- a/src/Forms/Prism.Forms/Services/Dialogs/DialogResult.cs +++ b/src/Forms/Prism.Forms/Services/Dialogs/DialogResult.cs @@ -6,19 +6,14 @@ namespace Prism.Services.Dialogs { /// - /// An that contains from the dialog - /// and the of the dialog. + /// Provides returns information about a dialog that has been closed. /// internal class DialogResult : IDialogResult { - /// - /// The exception of the dialog. - /// + /// public Exception Exception { get; set; } - /// - /// The parameters from the dialog. - /// + /// public IDialogParameters Parameters { get; set; } } } diff --git a/src/Forms/Prism.Forms/Services/Dialogs/IDialogResult.cs b/src/Forms/Prism.Forms/Services/Dialogs/IDialogResult.cs index 7a899ed1c9..ca86f6de75 100644 --- a/src/Forms/Prism.Forms/Services/Dialogs/IDialogResult.cs +++ b/src/Forms/Prism.Forms/Services/Dialogs/IDialogResult.cs @@ -3,18 +3,17 @@ namespace Prism.Services.Dialogs { /// - /// Contains from the dialog - /// and the of the dialog. + /// Represents a class that returns information about a dialog that has been closed. /// public interface IDialogResult { /// - /// The exception of the dialog. + /// Gets the exception of the dialog. /// Exception Exception { get; } /// - /// The parameters from the dialog. + /// Gets the parameters from the dialog. /// IDialogParameters Parameters { get; } } From 8783540c5d1038f3630f5f82c8b77ca90508b2f6 Mon Sep 17 00:00:00 2001 From: niimima Date: Sat, 27 Aug 2022 15:18:58 +0900 Subject: [PATCH 3/3] Remove a extra "returns" word. --- src/Forms/Prism.Forms/Services/Dialogs/DialogResult.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Forms/Prism.Forms/Services/Dialogs/DialogResult.cs b/src/Forms/Prism.Forms/Services/Dialogs/DialogResult.cs index e323485378..59adce2226 100644 --- a/src/Forms/Prism.Forms/Services/Dialogs/DialogResult.cs +++ b/src/Forms/Prism.Forms/Services/Dialogs/DialogResult.cs @@ -6,7 +6,7 @@ namespace Prism.Services.Dialogs { /// - /// Provides returns information about a dialog that has been closed. + /// Provides information about a dialog that has been closed. /// internal class DialogResult : IDialogResult {