CurrentSubscriptions property
Iterable<StreamingSubscription>
get
CurrentSubscriptions
Implementation
// StreamingSubscriptionConnection.withLifetime(
// ExchangeService service,
// Iterable<StreamingSubscription> subscriptions,
// int lifetime) :
// this(service, lifetime)
// {
// EwsUtilities.ValidateParamCollection(subscriptions, "subscriptions");
//
// for (StreamingSubscription subscription in subscriptions)
// {
// this.subscriptions[subscription.Id] = subscription;
// }
// }
/// <summary>
/// Getting the current subscriptions in this connection.
/// </summary>
Iterable<StreamingSubscription> get CurrentSubscriptions {
List<StreamingSubscription> result = <StreamingSubscription>[];
result.addAll(this._subscriptions.values);
return result;
}