public ExceptionHandlersRegistrator BusinessExceptionHandler(TypedInjectionValue dialogShower, TypedInjectionValue businessExceptionDetailsConverter) { _registeredTypes.Add(typeof(BusinessExceptionHandler)); _container.RegisterType <BusinessExceptionHandler>(new InjectionConstructor(dialogShower, businessExceptionDetailsConverter)); return(this); }
public ExceptionHandlersRegistrator BusinessExceptionHandler(TypedInjectionValue dialogShower) { return(BusinessExceptionHandler(dialogShower, new InjectionParameter(new EnumBusinessExceptionDetailsConverter()))); }