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)
 {
 }
 protected AbstractGlobalAsaxExceptionHandler(IWebUtilityWrapper webUtilityWrapper)
 {
     WebUtilityWrapper = webUtilityWrapper;
 }
 public GlobalAsaxErrorHandler(IReflection reflection, IWebUtilityWrapper webUtilityWrapper)
 {
     _reflection        = reflection;
     _webUtilityWrapper = webUtilityWrapper;
 }
예제 #6
0
 public GlobalAsaxLoginRedirectExceptionHandler(IWebUtilityWrapper webUtilityWrapper) : base(webUtilityWrapper)
 {
 }