From 998cc8d4d91a7f85389cd0918f127257576c2c13 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Mon, 13 Aug 2018 16:12:45 +0300 Subject: Logs and comments for PPC.UI ! --- .../PPC/Tango.PPC.UI/Notifications/DialogAndView.cs | 17 +++++++++++++++++ .../Tango.PPC.UI/Notifications/PendingNotification.cs | 19 +++++++++++++++++++ 2 files changed, 36 insertions(+) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DialogAndView.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DialogAndView.cs index ea622ee48..2a85e2cb6 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DialogAndView.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DialogAndView.cs @@ -8,17 +8,34 @@ using Tango.SharedUI; namespace Tango.PPC.UI.Notifications { + /// + /// Represents a dialog and view couple. + /// public class DialogAndView { + /// + /// Gets or sets the vm. + /// public DialogViewVM VM { get; set; } + /// + /// Gets or sets the view. + /// public FrameworkElement View { get; set; } + /// + /// Initializes a new instance of the class. + /// public DialogAndView() { } + /// + /// Initializes a new instance of the class. + /// + /// The vm. + /// The view. public DialogAndView(DialogViewVM vm, FrameworkElement view) : this() { VM = vm; diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/PendingNotification.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/PendingNotification.cs index 791577964..cf76e90d9 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/PendingNotification.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/PendingNotification.cs @@ -6,17 +6,36 @@ using System.Threading.Tasks; namespace Tango.PPC.UI.Notifications { + /// + /// Represents a pending notification item. + /// + /// + /// The type of the result. public class PendingNotification { + /// + /// Gets or sets the item. + /// public T Item { get; set; } + /// + /// Gets or sets the completion source. + /// public TaskCompletionSource CompletionSource { get; set; } + /// + /// Initializes a new instance of the class. + /// public PendingNotification() { } + /// + /// Initializes a new instance of the class. + /// + /// The item. + /// The completion source. public PendingNotification(T item, TaskCompletionSource completionSource) : this() { Item = item; -- cgit v1.3.1