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