Esempio n. 1
0
 static NServiceRequestExec()
 {
     try
     {
         NServiceExec <TService> .CreateServiceRunnersFor <TRequest>();
     }
     catch (Exception ex)
     {
         ex.Message.Print();
         throw;
     }
 }
Esempio n. 2
0
 public object Execute(IRequestContext requestContext, object instance, object request)
 {
     return(NServiceExec <TService> .Execute(requestContext, instance, request,
                                             typeof(TRequest).Name));
 }
Esempio n. 3
0
 static NServiceRequestExec()
 {
     NServiceExec <TService> .CreateServiceRunnersFor <TRequest>();
 }