-
Notifications
You must be signed in to change notification settings - Fork 252
/
SubscriptionCompleteEvent.cs
36 lines (32 loc) · 1.16 KB
/
SubscriptionCompleteEvent.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Collections.Generic;
using System.Text;
namespace Skyline.DataMiner.Net
{
/// <summary>
/// Delegate used for the <see cref="IConnection.OnSubscriptionComplete"/> event of the <see cref="IConnection"/> interface.
/// </summary>
public delegate void SubscriptionCompleteEventHandler(Object sender, SubscriptionCompleteEventArgs e);
/// <summary>
/// Event arguments for use with <see cref="SubscriptionCompleteEventHandler"/>.
/// </summary>
/// <remarks>
/// <seealso cref="IConnection.OnSubscriptionComplete"/>
/// </remarks>
public class SubscriptionCompleteEventArgs : EventArgs
{
/// <summary>
/// Initializes a new instance of the <see cref="SubscriptionCompleteEventArgs"/> class.
/// </summary>
/// <param name="setID">ID of the subscription set that was updated.</param>
public SubscriptionCompleteEventArgs(String setID)
{
this.SetID = setID;
}
/// <summary>
/// Gets the ID of the subscription set that was updated.
/// </summary>
/// <value>The ID of the subscription set that was updated.</value>
public string SetID { get; private set; }
}
}