/// <summary>
 /// Event arguments for node subscription options callback events.
 /// </summary>
 /// <param name="NodeName">Name of node.</param>
 /// <param name="Jid">JID of subscription.</param>
 /// <param name="Options">Subscription options, if available.</param>
 /// <param name="e">IQ result event arguments.</param>
 public SubscriptionOptionsEventArgs(string NodeName, string Jid, SubscriptionOptions Options,
                                     DataFormEventArgs e)
     : base(e.Form, e)
 {
     this.nodeName = NodeName;
     this.jid      = Jid;
     this.options  = Options;
 }
Пример #2
0
 /// <summary>
 /// Event arguments for node subscription callback events.
 /// </summary>
 /// <param name="NodeName">Name of node.</param>
 /// <param name="Jid">JID of subscription.</param>
 /// <param name="SubscriptionId">Subscription ID</param>
 /// <param name="Options">Subscription options, if available.</param>
 /// <param name="Availability">If options are supported.</param>
 /// <param name="Expires">When the subscription expires.</param>
 /// <param name="Status">Status of subscription.</param>
 /// <param name="e">IQ result event arguments.</param>
 public SubscriptionEventArgs(string NodeName, string Jid, string SubscriptionId,
                              SubscriptionOptions Options, OptionsAvailability Availability, DateTime Expires,
                              NodeSubscriptionStatus Status, DataFormEventArgs e)
     : base(NodeName, Jid, Options, e)
 {
     this.availability   = Availability;
     this.expires        = Expires;
     this.subscriptionId = SubscriptionId;
     this.status         = Status;
 }