public void Subscribe(IList <Subscription> subscriptionList) { foreach (var subscription in subscriptionList) { var uri = subscription.SubscriptionString; var fieldsParam = HttpUtility.ParseQueryString(uri.Split('?')[1]).Get("fields"); var fields = fieldsParam.Split(',').ToList(); Subscriptions.Add(subscription.CorrelationID, subscription); SubscriptionFields.Add(subscription.CorrelationID, fields); } Session.Subscribe(subscriptionList); }
internal SubscriptionField(SubscriptionFields subscriptionFields, string name) { this.subscriptionFields = subscriptionFields; this.name = name; }
internal SubscriptionField(SubscriptionFields subscriptionFields) { this.subscriptionFields = subscriptionFields; }