Example #1
0
 public async Task TryAsync(Func <T, Task> method, params string[] endPointNames)
 {
     using (ILifetimeScope scope = container.BeginLifetimeScope())
     {
         IClientEvaluator <T> evaluator = scope.Resolve <IClientEvaluator <T> >();
         await evaluator.TryAsync(method, endPointNames);
     }
 }