Beispiel #1
0
        public async Task PrepareRequestAsync(
            IQueryRequestBuilder requestBuilder)
        {
            requestBuilder.SetProperties(
                new Dictionary <string, object>(RequestProperties));

            if (_onCreateRequest != null)
            {
                await _onCreateRequest(
                    HttpContext, requestBuilder,
                    HttpContext.RequestAborted)
                .ConfigureAwait(false);
            }
        }
 public Task PrepareRequestAsync(IQueryRequestBuilder requestBuilder)
 {
     requestBuilder.SetProperties(
         new Dictionary <string, object>(RequestProperties));
     return(Task.CompletedTask);
 }