Пример #1
0
        public Task <MsgSubscribeToThingsResponse> SubscribeToThingsAsync(IEnumerable <TheThingSubscription> thingSubscriptionRequests)
        {
            var subscribeThingsRequest = new MsgSubscribeToThings
            {
                SubscriptionRequests = thingSubscriptionRequests.ToList(),
            };

            return(SubscribeToThingsAsync(subscribeThingsRequest));
        }
Пример #2
0
 public Task <MsgSubscribeToThingsResponse> SubscribeToThingsAsync(MsgSubscribeToThings subscribeThingsRequest)
 {
     return(TheCommRequestResponse.PublishRequestJSonAsync <MsgSubscribeToThings, MsgSubscribeToThingsResponse>(this, subscribeThingsRequest));
 }