public LoggingAsyncFunctionDecorator( IFunctionHandlerAsync <TCommand, TOutput> decorateeHandler, IEventLogger <LoggingAsyncFunctionDecorator <TCommand, TOutput> > logger ) : base(decorateeHandler, logger, true) { this.decorateeHandler = decorateeHandler; }
private static Task <TOutput> ExecuteFunctionShimAsync <TFunction, TOutput>( IFunctionHandlerAsync <TFunction, TOutput> handler, TFunction function ) where TFunction : IFunction <TOutput> { return(handler.ExecuteAsync(function)); }