Example #1
0
 public AntiForgeryMvcFilter(IInfrastructureAntiForgeryManager AntiForgeryManager, IMvcConfiguration mvcConfiguration, IAntiForgeryWebConfiguration antiForgeryWebConfiguration)
 {
     _AntiForgeryManager          = AntiForgeryManager;
     _mvcConfiguration            = mvcConfiguration;
     _antiForgeryWebConfiguration = antiForgeryWebConfiguration;
     Logger = NullLogger.Instance;
 }
Example #2
0
        public XpmMarkupService(IDD4TConfiguration configuration, IMvcConfiguration mvcConfiguration)
        {
            if (configuration == null)
            {
                throw new ArgumentNullException("configuration");
            }
            if (mvcConfiguration == null)
            {
                throw new ArgumentNullException("mvcConfiguration");
            }

            _configuration    = configuration;
            _mvcConfiguration = mvcConfiguration;
        }
Example #3
0
 public MvcValidationFilter(IIocResolver iocResolver, IMvcConfiguration configuration)
 {
     _iocResolver   = iocResolver;
     _configuration = configuration;
 }
Example #4
0
 public MvcUnitOfWorkFilter(IUnitOfWorkManager unitOfWorkManager, IMvcConfiguration configuration)
 {
     _unitOfWorkManager = unitOfWorkManager;
     _configuration     = configuration;
 }
Example #5
0
 public MvcAuditFilter(IMvcConfiguration configuration, IAuditingHelper auditingHelper)
 {
     _configuration  = configuration;
     _auditingHelper = auditingHelper;
 }