public static Task RunInRequestContext(this IServiceRemotingClient serviceRemotingClient, Action action, Guid correlationId, string user)
 {
     return(ServiceRequestContextHelper.RunInRequestContext(action, correlationId, user));
 }
 public static Task RunInRequestContext(this IServiceRemotingMessageHandler serviceRemotingDispatcher, Action action, Guid correlationId, string user)
 {
     return(ServiceRequestContextHelper.RunInRequestContext(action, correlationId, user));
 }
 public static Task <TResult> RunInRequestContext <TResult>(this IServiceRemotingClient serviceRemotingClient, Func <Task <TResult> > action, Guid correlationId, string user)
 {
     return(ServiceRequestContextHelper.RunInRequestContext(action, correlationId, user));
 }
Example #4
0
 public static Task RunInRequestContext(this IServiceProxyFactory serviceProxyFactory, Action action, Guid correlationId, string user)
 {
     return(ServiceRequestContextHelper.RunInRequestContext(action, correlationId, user));
 }