예제 #1
0
        public ExceptionHandlersRegistrator BusinessExceptionHandler(TypedInjectionValue dialogShower, TypedInjectionValue businessExceptionDetailsConverter)
        {
            _registeredTypes.Add(typeof(BusinessExceptionHandler));
            _container.RegisterType <BusinessExceptionHandler>(new InjectionConstructor(dialogShower, businessExceptionDetailsConverter));

            return(this);
        }
예제 #2
0
 public ExceptionHandlersRegistrator BusinessExceptionHandler(TypedInjectionValue dialogShower)
 {
     return(BusinessExceptionHandler(dialogShower, new InjectionParameter(new EnumBusinessExceptionDetailsConverter())));
 }