diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-08-13 16:12:45 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-08-13 16:12:45 +0300 |
| commit | 998cc8d4d91a7f85389cd0918f127257576c2c13 (patch) | |
| tree | 368ecd76f09b8ff1c4156a554b799cd231c42119 /Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/PendingNotification.cs | |
| parent | 4490b0a76d4188cb285d62b106e208803ceaa133 (diff) | |
| download | Tango-998cc8d4d91a7f85389cd0918f127257576c2c13.tar.gz Tango-998cc8d4d91a7f85389cd0918f127257576c2c13.zip | |
Logs and comments for PPC.UI !
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/PendingNotification.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Notifications/PendingNotification.cs | 19 |
1 files changed, 19 insertions, 0 deletions
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; |
