示例#1
0
        public async Task <ListTopicResponse> ListTopicAsync(ListTopicRequest request)
        {
            var marshaller   = new ListTopicRequestMarshaller();
            var unmarshaller = ListTopicResponseUnmarshaller.Instance;

            return(await InvokeAsync <ListTopicRequest, ListTopicResponse>(request, marshaller, unmarshaller).ConfigureAwait(false));
        }
示例#2
0
        /// <inheritdoc/>
        public ListTopicResponse ListTopic(ListTopicRequest request)
        {
            var marshaller   = new ListTopicRequestMarshaller();
            var unmarshaller = ListTopicResponseUnmarshaller.Instance;

            return(Invoke <ListTopicRequest, ListTopicResponse>(request, marshaller, unmarshaller));
        }
示例#3
0
 /// <inheritdoc/>
 public ListTopicResponse ListTopic(ListTopicRequest request)
 {
     return(AggregateExceptionExtract.Extract(() =>
     {
         return ListTopicAsync(request).Result;
     }));
 }
示例#4
0
        /// <inheritdoc/>
        public IAsyncResult BeginListTopic(ListTopicRequest request, AsyncCallback callback, object state)
        {
            var marshaller   = new ListTopicRequestMarshaller();
            var unmarshaller = ListTopicResponseUnmarshaller.Instance;

            return(BeginInvoke <ListTopicRequest>(request, marshaller, unmarshaller,
                                                  callback, state));
        }
示例#5
0
        /// <inheritdoc/>
        public ListTopicResponse ListTopic(string topicNamePrefix)
        {
            var request = new ListTopicRequest()
            {
                TopicNamePrefix = topicNamePrefix
            };

            return(ListTopic(request));
        }
示例#6
0
        public async Task <ListTopicResponse> ListTopicAsync(string topicNamePrefix)
        {
            var request = new ListTopicRequest()
            {
                TopicNamePrefix = topicNamePrefix
            };

            return(await ListTopicAsync(request).ConfigureAwait(false));
        }
示例#7
0
        /// <inheritdoc/>
        public ListTopicResponse ListTopic(string topicNamePrefix, string marker, uint maxReturns)
        {
            var request = new ListTopicRequest()
            {
                TopicNamePrefix = topicNamePrefix,
                Marker          = marker,
                MaxReturns      = maxReturns
            };

            return(ListTopic(request));
        }
示例#8
0
        public async Task <ListTopicResponse> ListTopicAsync(string topicNamePrefix, string marker, uint maxReturns)
        {
            var request = new ListTopicRequest()
            {
                TopicNamePrefix = topicNamePrefix,
                Marker          = marker,
                MaxReturns      = maxReturns
            };

            return(await ListTopicAsync(request).ConfigureAwait(false));
        }