Beispiel #1
0
        public Task <MsgUnsubscribeFromThingsResponse> UnsubscribeFromThingsAsync(IEnumerable <Guid> subscriptionIds)
        {
            var unsubscribeThingsRequest = new MsgUnsubscribeFromThings
            {
                SubscriptionIds = subscriptionIds.ToList(),
            };

            return(UnsubscribeFromThingsAsync(unsubscribeThingsRequest));
        }
Beispiel #2
0
        public Task <MsgUnsubscribeFromThingsResponse> UnsubscribeFromAllThingsAsync()
        {
            var unsubscribeThingsRequest = new MsgUnsubscribeFromThings
            {
                UnsubscribeAll = true,
            };

            return(UnsubscribeFromThingsAsync(unsubscribeThingsRequest));
        }
Beispiel #3
0
 public Task <MsgUnsubscribeFromThingsResponse> UnsubscribeFromThingsAsync(MsgUnsubscribeFromThings unsubscribeThingsRequest)
 {
     return(TheCommRequestResponse.PublishRequestJSonAsync <MsgUnsubscribeFromThings, MsgUnsubscribeFromThingsResponse>(this, unsubscribeThingsRequest));
 }