コード例 #1
0
        private void CreateErrorHandlers(IWebUtilityWrapper webUtilityWrapper)
        {
            var types = _reflection.GetTypesFromAssembly("Wizardsgroup.Core.Web");
            var globalExceptionHandlers = _reflection.GetTypesWithImplementingInterface <IGlobalExceptionHandler>(types);

            _handlers = new List <IGlobalExceptionHandler>();
            foreach (var handler in globalExceptionHandlers)
            {
                _handlers.Add(_reflection.CreateInstanceOfType <IGlobalExceptionHandler>(handler, webUtilityWrapper));
            }
        }
 public GlobalAsaxAjaxUnauthorizedExceptionHandler(IWebUtilityWrapper webUtilityWrapper) : base(webUtilityWrapper)
 {
 }
コード例 #3
0
 public GlobalAsaxAjaxGenericExceptionHandler(IWebUtilityWrapper webUtilityWrapper) : base(webUtilityWrapper)
 {
 }
コード例 #4
0
 protected AbstractGlobalAsaxExceptionHandler(IWebUtilityWrapper webUtilityWrapper)
 {
     WebUtilityWrapper = webUtilityWrapper;
 }
コード例 #5
0
 public GlobalAsaxErrorHandler(IReflection reflection, IWebUtilityWrapper webUtilityWrapper)
 {
     _reflection        = reflection;
     _webUtilityWrapper = webUtilityWrapper;
 }
コード例 #6
0
 public GlobalAsaxLoginRedirectExceptionHandler(IWebUtilityWrapper webUtilityWrapper) : base(webUtilityWrapper)
 {
 }