Exemplo n.º 1
0
        public ExceptionHandlersRegistrator BusinessExceptionHandler(TypedInjectionValue dialogShower, TypedInjectionValue businessExceptionDetailsConverter)
        {
            _registeredTypes.Add(typeof(BusinessExceptionHandler));
            _container.RegisterType <BusinessExceptionHandler>(new InjectionConstructor(dialogShower, businessExceptionDetailsConverter));

            return(this);
        }
Exemplo n.º 2
0
 public ExceptionHandlersRegistrator BusinessExceptionHandler(TypedInjectionValue dialogShower)
 {
     return(BusinessExceptionHandler(dialogShower, new InjectionParameter(new EnumBusinessExceptionDetailsConverter())));
 }