Esempio n. 1
0
 public TOutput Execute(TCommand action)
 {
     using (WithLogging())
     {
         return(decorateeHandler.Execute(action));
     }
 }
Esempio n. 2
0
 private static TOutput ExecuteFunctionShim <TFunction, TOutput>(
     IFunctionHandler <TFunction, TOutput> handler,
     TFunction function
     )
     where TFunction : IFunction <TOutput>
 {
     return(handler.Execute(function));
 }