public CodeZeroExceptionFilter(IErrorInfoBuilder errorInfoBuilder, ICodeZeroAspNetCoreConfiguration configuration)
        {
            _errorInfoBuilder = errorInfoBuilder;
            _configuration    = configuration;

            Logger   = NullLogger.Instance;
            EventBus = NullEventBus.Instance;
        }
Пример #2
0
 public CodeZeroUowActionFilter(
     IUnitOfWorkManager unitOfWorkManager,
     ICodeZeroAspNetCoreConfiguration aspnetCoreConfiguration,
     IUnitOfWorkDefaultOptions unitOfWorkDefaultOptions)
 {
     _unitOfWorkManager        = unitOfWorkManager;
     _aspnetCoreConfiguration  = aspnetCoreConfiguration;
     _unitOfWorkDefaultOptions = unitOfWorkDefaultOptions;
 }
 public CodeZeroAuditActionFilter(ICodeZeroAspNetCoreConfiguration configuration, IAuditingHelper auditingHelper)
 {
     _configuration  = configuration;
     _auditingHelper = auditingHelper;
 }
 public CodeZeroResultFilter(ICodeZeroAspNetCoreConfiguration configuration,
                             ICodeZeroActionResultWrapperFactory actionResultWrapper)
 {
     _configuration = configuration;
     _actionResultWrapperFactory = actionResultWrapper;
 }
Пример #5
0
 public CodeZeroValidationActionFilter(IIocResolver iocResolver, ICodeZeroAspNetCoreConfiguration configuration)
 {
     _iocResolver   = iocResolver;
     _configuration = configuration;
 }