Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NotificationEventArgs{T, TSubscription}"/> class.
 /// </summary>
 /// <param name="subscription">The original subscription.</param>
 /// <param name="notification">The notification message.</param>
 /// <param name="data">The notification data.</param>
 public NotificationWithDataEventArgs(EtpSubscription <TSubscription> subscription, EtpMessage <TNotification> notification, EtpMessage <TData> data)
     : base(subscription, notification)
 {
     Data = data;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NotificationEventArgs{T, TSubscription}"/> class.
 /// </summary>
 /// <param name="subscription">The original subscription.</param>
 /// <param name="notification">The notification message.</param>
 public NotificationEventArgs(EtpSubscription <TSubscription> subscription, EtpMessage <TNotification> notification)
 {
     Notification = notification;
     Subscription = subscription;
 }