public static Task <TResult> RunInRequestContext <TResult>(this IServiceRemotingMessageHandler serviceRemotingDispatcher, Func <Task <TResult> > action, params ServiceRequestHeader[] headers)
 {
     return(ServiceRequestContextHelper.RunInRequestContext(action, headers));
 }
 public static Task RunInRequestContext(this IServiceRemotingMessageHandler serviceRemotingDispatcher, Func <Task> action, IEnumerable <ServiceRequestHeader> headers)
 {
     return(ServiceRequestContextHelper.RunInRequestContext(action, headers));
 }