예제 #1
0
        public PlantInfoProcessor(ILifeformService lifeformService, IOriginService originService, IPlantInfoService plantInfoService, ITaxonService taxonService, ILocationService locationService)
        {
            _lifeformService  = lifeformService;
            _originService    = originService;
            _plantInfoService = plantInfoService;
            _taxonService     = taxonService;
            _locationService  = locationService;

            Lifeforms = new List <Lifeform>();
            Taxons    = new List <Taxon>();
            Origins   = new List <Origin>();
        }
예제 #2
0
        public PlantInfoProcessor(ILifeformService lifeformService, IOriginService originService, IPlantInfoService plantInfoService, ITaxonService taxonService,
                                  ILocationService locationService, IIndex <SearchModels.PlantInfo, PlantInfo> plantInfoIndex, List <Lifeform> lifeforms, List <Taxon> taxons, List <Origin> origins)
        {
            _lifeformService  = lifeformService;
            _originService    = originService;
            _plantInfoService = plantInfoService;
            _taxonService     = taxonService;
            _locationService  = locationService;
            _plantInfoIndex   = plantInfoIndex;

            Origins   = origins;
            Lifeforms = lifeforms;
            Taxons    = taxons;
        }
 public ImportTransformOrchestrator(ILifeformService lifeformService, IOriginService originService, IPlantInfoService plantInfoService,
                                    ILocationService locationService, ITaxonService taxonService, ISynonymService synonymService, IRepository <PlantInfo> plantInfoRepository, IRepository <Specimen> specimenRepository,
                                    ISearchClient <SearchModels.PlantInfo> searchClient, IIndex <SearchModels.PlantInfo, Emergence.Data.Shared.Models.PlantInfo> plantInfoIndex,
                                    IIndex <SearchModels.Specimen, Emergence.Data.Shared.Models.Specimen> specimenIndex)
 {
     _lifeformService     = lifeformService;
     _originService       = originService;
     _plantInfoService    = plantInfoService;
     _locationService     = locationService;
     _taxonService        = taxonService;
     _synonymService      = synonymService;
     _plantInfoRepository = plantInfoRepository;
     _specimenRepository  = specimenRepository;
     _searchClient        = searchClient;
     _plantInfoIndex      = plantInfoIndex;
     _specimenIndex       = specimenIndex;
 }
예제 #4
0
 public LifeformController(ILifeformService lifeformService)
 {
     _lifeformService = lifeformService;
 }