public CreateCountryCommandHandler(
     ICountryFactory countryFactory,
     ICountryDomainRepository countryRepository)
 {
     this.countryFactory    = countryFactory;
     this.countryRepository = countryRepository;
 }
		public CountrySpecificCustomerService(IUnitOfWork unitOfWork, ICountrySpecificCustomerRepository repository
			, ICountryFactory countryFactory) : base(unitOfWork)
		{
			if (repository == null) throw new ArgumentNullException("CountrySpecificCustomerRepository");
			if (countryFactory == null) throw new ArgumentNullException("ICountryFactory");
			_repository = repository;
			_countryFactory = countryFactory;
		}
Exemplo n.º 3
0
 public ClientHomeController()
 {
     this.userFactory        = new UserFactory();
     this.claimFactory       = new ClaimFactory();
     this.claimStatusFactory = new ClaimStatusFactory();
     this.fieldTypeFactory   = new FieldTypeFactory();
     this.countryFactory     = new CountryFactory();
     this.reportFactory      = new ReportFactory();
 }
Exemplo n.º 4
0
 public ClientHomeController(IUserFactory userFactory, IClaimFactory claimFactory2, IClaimStatusFactory claimStatusFactory, IClaimTemplateFactory claimTemplateFactory, IFieldTypeFactory fieldTypeFactory, ICountryFactory countryFactory, IReportFactory reportFactory)
 {
     this.userFactory          = userFactory;
     this.claimFactory         = claimFactory2;
     this.claimStatusFactory   = claimStatusFactory;
     this.claimTemplateFactory = claimTemplateFactory;
     this.fieldTypeFactory     = fieldTypeFactory;
     this.countryFactory       = countryFactory;
     this.reportFactory        = reportFactory;
 }
Exemplo n.º 5
0
        //public CustomTemplateController()
        //{
        //    this.userFactory = new UserFactory();
        //    this.claimFactory = new ClaimFactory();
        //    this.claimStatusFactory = new ClaimStatusFactory();
        //    this.claimTemplateFactory = new ClaimTemplateFactory();
        //    this.fieldTypeFactory = new FieldTypeFactory();
        //}

        public CustomTemplateController(IClaimFactory claimFactory2, IClaimStatusFactory claimStatusFactory, IClaimTemplateFactory claimTemplateFactory
                                        , ICountryFactory countryFactory, IClaimFieldTemplateFactory claimFieldTemplateFactory, Acturis.Factories.IActurisClaimFactory acturisClaimFactory,
                                        Eclipse.Factories.IEclipseClaimFactory eclipseClaimFactory, Eclipse.Factories.IEclipsePolicyFactory eclipsePolicyFactory)
        {
            _claimFactory              = claimFactory2;
            _claimStatusFactory        = claimStatusFactory;
            _claimTemplateFactory      = claimTemplateFactory;
            _countryFactory            = countryFactory;
            _claimFieldTemplateFactory = claimFieldTemplateFactory;
            _acturisClaimFactory       = acturisClaimFactory;
            _eclipseClaimFactory       = eclipseClaimFactory;
            _eclipsePolicyFactory      = eclipsePolicyFactory;
        }
 public CountrySpecificCustomerService(IUnitOfWork unitOfWork, ICountrySpecificCustomerRepository repository
                                       , ICountryFactory countryFactory) : base(unitOfWork)
 {
     if (repository == null)
     {
         throw new ArgumentNullException("CountrySpecificCustomerRepository");
     }
     if (countryFactory == null)
     {
         throw new ArgumentNullException("ICountryFactory");
     }
     _repository     = repository;
     _countryFactory = countryFactory;
 }
Exemplo n.º 7
0
 public CountriesFactory(ICountryFactory countryFactory)
 {
     _countryFactory = countryFactory;
 }
Exemplo n.º 8
0
 public CountriesController(ICountryFactory countryFactory)
 {
     _countryFactory = countryFactory;
 }
 public CountrySpecificCustomerService(IUnitOfWork unitOfWork, ICountrySpecificCustomerRepository repository, ICountryFactory factory) : base(unitOfWork)
 {
     _repository     = repository ?? throw new ArgumentNullException("CountrySpecificCustomer repository");
     _countryFactory = factory ?? throw new ArgumentNullException("CountryFactory");
 }