public static IMediatorBuilder UseFluentValidation(this IMediatorBuilder builder)
        {
            builder.WithRequestDecorator("FluentValidation", typeof(ValidationRequestHandler <,>));
            builder.WithRequestDecorator("FluentValidationAsync", typeof(AsyncValidationRequestHandler <,>));

            return(builder);
        }
        public static IMediatorBuilder UseLog4Net(this IMediatorBuilder builder)
        {
            builder.WithRequestDecorator("Log4Net", typeof(LoggingRequestHandler <,>));
            builder.WithRequestDecorator("Log4NetAsync", typeof(AsyncLoggingRequestHandler <,>));

            return(builder);
        }