using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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;
CompletionSource = completionSource;
}
}
}