diff options
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/DialogAndView.cs | 17 | ||||
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/PendingNotification.cs | 19 |
2 files changed, 36 insertions, 0 deletions
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 { + /// <summary> + /// Represents a dialog and view couple. + /// </summary> public class DialogAndView { + /// <summary> + /// Gets or sets the vm. + /// </summary> public DialogViewVM VM { get; set; } + /// <summary> + /// Gets or sets the view. + /// </summary> public FrameworkElement View { get; set; } + /// <summary> + /// Initializes a new instance of the <see cref="DialogAndView"/> class. + /// </summary> public DialogAndView() { } + /// <summary> + /// Initializes a new instance of the <see cref="DialogAndView"/> class. + /// </summary> + /// <param name="vm">The vm.</param> + /// <param name="view">The view.</param> 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 { + /// <summary> + /// Represents a pending notification item. + /// </summary> + /// <typeparam name="T"></typeparam> + /// <typeparam name="TResult">The type of the result.</typeparam> public class PendingNotification<T, TResult> { + /// <summary> + /// Gets or sets the item. + /// </summary> public T Item { get; set; } + /// <summary> + /// Gets or sets the completion source. + /// </summary> public TaskCompletionSource<TResult> CompletionSource { get; set; } + /// <summary> + /// Initializes a new instance of the <see cref="PendingNotification{T, TResult}"/> class. + /// </summary> public PendingNotification() { } + /// <summary> + /// Initializes a new instance of the <see cref="PendingNotification{T, TResult}"/> class. + /// </summary> + /// <param name="item">The item.</param> + /// <param name="completionSource">The completion source.</param> public PendingNotification(T item, TaskCompletionSource<TResult> completionSource) : this() { Item = item; |
