Esempio n. 1
0
            public async Task <object> ExecuteAsync(object query, HttpQueryDispatcher dispatcher, Next next)
            {
                if (query is TQuery typed)
                {
                    object output = await ExecuteAsync(typed, next);

                    return(output);
                }

                return(await next(query));
            }
 private Task <object> ExecuteCurrentAsync(object query, HttpQueryDispatcher dispatcher)
 {
     return(enumerator.Current.ExecuteAsync(query, dispatcher, ExecuteNextAsync));
 }
 public Task <object> ExecuteAsync(object query, HttpQueryDispatcher dispatcher, Next next)
 {
     this.next       = next;
     this.dispatcher = dispatcher;
     return(ExecuteNextAsync(query));
 }
Esempio n. 4
0
            private async Task <object> ExecuteCurrentAsync(object query, HttpQueryDispatcher dispatcher)
            {
                object output = await enumerator.Current.ExecuteAsync(query, dispatcher, ExecuteNextAsync);

                return(output);
            }