/// <summary> /// Initializes a new instance of the <see cref="LinksAndTopCountService"/> class. /// </summary> public LinksAndTopCountService(iPow.Domain.Repository.ILinkInfoRepository linkInfo, iPow.Domain.Repository.ISightInfoRepository sightInfo, iPow.Domain.Repository.ITourPlanRepository tourPlan, iPow.Domain.Repository.IHotelPropertyInfoRepository hotelPropertyInfo ) { if (linkInfo == null) { throw new ArgumentNullException("linkInfoRepository is null"); } if (sightInfo == null) { throw new ArgumentNullException("sightInfoRepository is null"); } if (tourPlan == null) { throw new ArgumentNullException("tourPlanRepository is null"); } if (hotelPropertyInfo == null) { throw new ArgumentNullException("hotelPropertyInfoRepository is null"); } linkInfoRepository = linkInfo; sightInfoRepository = sightInfo; tourPlanRepository = tourPlan; hotelPropertyInfoRepository = hotelPropertyInfo; }
public TourDetailController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work, iPow.Domain.Repository.ITourClassRepository tourClass, iPow.Domain.Repository.ITourPlanDetailRepository tourPlanDetail, iPow.Domain.Repository.ITourPlanRepository tourPlan, iPow.Domain.Repository.ISightInfoRepository sightInfo, iPow.Domain.Repository.IHotelPropertyInfoRepository hotelPropertyInfo) : base(work) { if (tourClass == null) { throw new ArgumentNullException("tourClassRepository is null"); } if (tourPlanDetail == null) { throw new ArgumentNullException("tourPlanDetailRepository is null"); } if (tourPlan == null) { throw new ArgumentNullException("tourPlanRepository is null"); } if (sightInfo == null) { throw new ArgumentNullException("sightInfoRepository is null"); } if (hotelPropertyInfo == null) { throw new ArgumentNullException("hotelPropertyInfoRepository is null"); } tourClassRepository = tourClass; tourPlanDetailRepository = tourPlanDetail; tourPlanRepository = tourPlan; sightInfoRepository = sightInfo; hotelPropertyInfoRepository = hotelPropertyInfo; }
public TourDetailController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work, iPow.Domain.Repository.ITourClassRepository tourClass, iPow.Domain.Repository.ITourPlanDetailRepository tourPlanDetail, iPow.Domain.Repository.ITourPlanRepository tourPlan, iPow.Domain.Repository.ISightInfoRepository sightInfo, iPow.Domain.Repository.IHotelPropertyInfoRepository hotelPropertyInfo) : base(work) { if (tourClass == null) { throw new ArgumentNullException("tourClassRepository is null"); } if (tourPlanDetail == null) { throw new ArgumentNullException("tourPlanDetailRepository is null"); } if (tourPlan == null) { throw new ArgumentNullException("tourPlanRepository is null"); } if (sightInfo == null) { throw new ArgumentNullException("sightInfoRepository is null"); } if (hotelPropertyInfo == null) { throw new ArgumentNullException("hotelPropertyInfoRepository is null"); } tourClassRepository = tourClass; tourPlanDetailRepository = tourPlanDetail; tourPlanRepository = tourPlan; sightInfoRepository = sightInfo; hotelPropertyInfoRepository = hotelPropertyInfo; }
/// <summary> /// Initializes a new instance of the <see cref="LinksAndTopCountService"/> class. /// </summary> public LinksAndTopCountService(iPow.Domain.Repository.ILinkInfoRepository linkInfo, iPow.Domain.Repository.ISightInfoRepository sightInfo, iPow.Domain.Repository.ITourPlanRepository tourPlan, iPow.Domain.Repository.IHotelPropertyInfoRepository hotelPropertyInfo ) { if (linkInfo == null) { throw new ArgumentNullException("linkInfoRepository is null"); } if (sightInfo == null) { throw new ArgumentNullException("sightInfoRepository is null"); } if (tourPlan == null) { throw new ArgumentNullException("tourPlanRepository is null"); } if (hotelPropertyInfo == null) { throw new ArgumentNullException("hotelPropertyInfoRepository is null"); } linkInfoRepository = linkInfo; sightInfoRepository = sightInfo; tourPlanRepository = tourPlan; hotelPropertyInfoRepository = hotelPropertyInfo; }
/// <summary> /// /// </summary> /// <param name="hotelPropertyInfo"></param> public HotelInfoService(iPow.Domain.Repository.IHotelPropertyInfoRepository hotelPropertyInfo) { if (hotelPropertyInfo == null) { throw new ArgumentNullException("hotelPropertyInfoRepository is null"); } hotelPropertyInfoRepository = hotelPropertyInfo; }
/// <summary> /// /// </summary> /// <param name="hotelPropertyInfo"></param> public HotelInfoService(iPow.Domain.Repository.IHotelPropertyInfoRepository hotelPropertyInfo) { if (hotelPropertyInfo == null) { throw new ArgumentNullException("hotelPropertyInfoRepository is null"); } hotelPropertyInfoRepository = hotelPropertyInfo; }
/// <summary> /// Initializes a new instance of the <see cref="HotelController"/> class. /// </summary> /// <param name="work">The work.</param> /// <param name="ipowHotelInfo">The ipow hotel info.</param> /// <param name="ipowHotelRoom">The ipow hotel room.</param> /// <param name="ipowHotelComm">The ipow hotel comm.</param> /// <param name="ipowHotelPic">The ipow hotel pic.</param> /// <param name="ipowHotelTraffic">The ipow hotel traffic.</param> public HotelController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work, iPow.Service.Union.Service.IHotelInfoService ipowHotelInfo, iPow.Service.Union.Service.IHotelRoomService ipowHotelRoom, iPow.Service.Union.Service.IHotelCommService ipowHotelComm, iPow.Service.Union.Service.IHotelPicService ipowHotelPic, iPow.Service.Union.Service.IHotelTrafficService ipowHotelTraffic, iPow.Domain.Repository.IHotelCommRepository hotelComm, iPow.Domain.Repository.IHotelPropertyInfoRepository hotelPropertyInfo, iPow.Service.Union.Service.IHotelCommSysService ipowHotelCommSys) : base(work) { if (ipowHotelInfo == null) { throw new ArgumentNullException("hotelInfoService is null"); } if (ipowHotelRoom == null) { throw new ArgumentNullException("hotelRoomService is null"); } if (ipowHotelComm == null) { throw new ArgumentNullException("hotelCommService is null"); } if (ipowHotelPic == null) { throw new ArgumentNullException("hotelPicService is null"); } if (ipowHotelTraffic == null) { throw new ArgumentNullException("hotelTrafficService is null"); } if (hotelComm == null) { throw new ArgumentNullException("hotelCommRepository is null"); } if (hotelPropertyInfo == null) { throw new ArgumentNullException("hotelPropertyInfoRepository is null"); } if (ipowHotelCommSys == null) { throw new ArgumentNullException("hotelCommSysService is null"); } hotelInfoService = ipowHotelInfo; hotelRoomService = ipowHotelRoom; hotelCommService = ipowHotelComm; hotelPicService = ipowHotelPic; hotelTrafficService = ipowHotelTraffic; hotelCommRepository = hotelComm; hotelPropertyInfoRepository = hotelPropertyInfo; hotelCommSysService = ipowHotelCommSys; }
/// <summary> /// Initializes a new instance of the <see cref="SearchService"/> class. /// </summary> /// <param name="hotelPropertyInfo">The hotel property info.</param> /// <param name="tourPlan">The tour plan.</param> /// <param name="tourPlanDetail">The tour plan detail.</param> public SearchService(iPow.Domain.Repository.IHotelPropertyInfoRepository hotelPropertyInfo, iPow.Domain.Repository.ITourPlanRepository tourPlan, iPow.Domain.Repository.ITourPlanDetailRepository tourPlanDetail) { if (hotelPropertyInfo == null) { throw new ArgumentNullException("hotelpropertyinforepository is null"); } if (tourPlan == null) { throw new ArgumentNullException("tourPlanRepository is null"); } if (tourPlanDetail == null) { throw new ArgumentNullException("tourPlanDetailRepository is null"); } hotelPropertyInfoRepository = hotelPropertyInfo; tourPlanRepository = tourPlan; tourPlanDetailRepository = tourPlanDetail; }
/// <summary> /// Initializes a new instance of the <see cref="SearchService"/> class. /// </summary> /// <param name="hotelPropertyInfo">The hotel property info.</param> /// <param name="tourPlan">The tour plan.</param> /// <param name="tourPlanDetail">The tour plan detail.</param> public SearchService(iPow.Domain.Repository.IHotelPropertyInfoRepository hotelPropertyInfo, iPow.Domain.Repository.ITourPlanRepository tourPlan, iPow.Domain.Repository.ITourPlanDetailRepository tourPlanDetail) { if (hotelPropertyInfo == null) { throw new ArgumentNullException("hotelpropertyinforepository is null"); } if (tourPlan == null) { throw new ArgumentNullException("tourPlanRepository is null"); } if (tourPlanDetail == null) { throw new ArgumentNullException("tourPlanDetailRepository is null"); } hotelPropertyInfoRepository = hotelPropertyInfo; tourPlanRepository = tourPlan; tourPlanDetailRepository = tourPlanDetail; }
/// <summary> /// Initializes a new instance of the <see cref="TourPlanService"/> class. /// </summary> /// <param name="tourPlan">The tour plan.</param> /// <param name="tourPlanDetail">The tour plan detail.</param> /// <param name="tourClass">The tour class.</param> /// <param name="sightInfo">The sight info.</param> /// <param name="sightClass">The sight class.</param> /// <param name="hotelComm">The hotel comm.</param> /// <param name="hotelPropertyInfo">The hotel property info.</param> /// <param name="hotelPic">The hotel pic.</param> /// <param name="sightComm">The sight comm.</param> /// <param name="picInfo">The pic info.</param> /// <param name="siService">The si service.</param> /// <param name="ucityService">The ucity service.</param> /// <param name="hlmService">The HLM service.</param> public TourPlanService(iPow.Domain.Repository.ITourPlanRepository tourPlan, iPow.Domain.Repository.ITourPlanDetailRepository tourPlanDetail, iPow.Domain.Repository.ITourClassRepository tourClass, iPow.Domain.Repository.ISightInfoRepository sightInfo, iPow.Domain.Repository.ISightClassRepository sightClass, iPow.Domain.Repository.IHotelCommRepository hotelComm, iPow.Domain.Repository.IHotelPropertyInfoRepository hotelPropertyInfo, iPow.Domain.Repository.IHotelPicRepository hotelPic, iPow.Domain.Repository.ISightCommRepository sightComm, iPow.Domain.Repository.IPicInfoRepository picInfo, iPow.Application.jq.Service.ISightInfoService siService, iPow.Service.Union.Service.ICityService ucityService, iPow.Service.Union.Service.IHotelLeftMidService hlmService ) { if (tourPlan == null) { throw new ArgumentNullException("tourPlanRepository is null"); } if (tourPlanDetail == null) { throw new ArgumentNullException("tourPlanDetailRepository is null"); } if (tourClass == null) { throw new ArgumentNullException("tourclassrepository is null"); } if (sightInfo == null) { throw new ArgumentNullException("sightinforepository is null"); } if (sightClass == null) { throw new ArgumentNullException("sightclassrepository is null"); } if (hotelComm == null) { throw new ArgumentNullException("hotelcommrepository is null"); } if (hotelPropertyInfo == null) { throw new ArgumentNullException("hotelpropertyinforepository is null"); } if (hotelPic == null) { throw new ArgumentNullException("hotelpicrepository is null"); } if (sightComm == null) { throw new ArgumentNullException("sightcommrepository is null"); } if (picInfo == null) { throw new ArgumentNullException("picinforepository is null"); } if (siService == null) { throw new ArgumentNullException("sightinfoservice is null"); } if (ucityService == null) { throw new ArgumentNullException("unionCityService is null"); } if (ucityService == null) { throw new ArgumentNullException("hotelleftmidservice is null"); } tourPlanRepository = tourPlan; tourPlanDetailRepository = tourPlanDetail; tourClassRepository = tourClass; sightInfoRepository = sightInfo; sightClassRepository = sightClass; hotelCommRepository = hotelComm; hotelPropertyInfoRepository = hotelPropertyInfo; hotelPicRepository = hotelPic; sightCommRepository = sightComm; picInfoRepository = picInfo; sightInfoService = siService; unionCityService = ucityService; hotelLeftMidService = hlmService; }
/// <summary> /// Initializes a new instance of the <see cref="SightInfoService"/> class. /// </summary> public SightInfoService(iPow.Domain.Repository.ISightVouchItemRepository sightVouch, iPow.Domain.Repository.ISightTicketRepository sightTicket, iPow.Domain.Repository.ISightClassRepository sightClass, iPow.Domain.Repository.ISightInfoRepository sightInfo, iPow.Domain.Repository.IPicInfoRepository picInfo, iPow.Domain.Repository.ISightCommRepository sightComm, iPow.Domain.Repository.IHotelPropertyInfoRepository hotelPropertyInfo, iPow.Domain.Repository.ICityInfoRepository cityInfo, iPow.Application.jq.Service.IAddSortService addSort, iPow.Application.jq.Service.ITopClassService topClass, iPow.Infrastructure.Crosscutting.Comm.Service.ICityInfoService ciService, iPow.Domain.Repository.ISightInfoSortRepository sightInfoSort, iPow.Domain.Repository.ISightInfoCirHotelRepository sightInfoCirHotel, iPow.Domain.Repository.ISightInfoCirSightRepository sightInfoCirSight, iPow.Domain.Repository.ITourPlanDetailRepository tourPlanDetail) { if (sightVouch == null) { throw new ArgumentNullException("sightvouchitem is null"); } if (sightTicket == null) { throw new ArgumentNullException("sightticketrepository is null"); } if (sightClass == null) { throw new ArgumentNullException("sightclassrepository is null"); } if (sightInfo == null) { throw new ArgumentNullException("sightinforepository is null"); } if (picInfo == null) { throw new ArgumentNullException("picinforepository is null"); } if (sightComm == null) { throw new ArgumentNullException("sightCommRepository is null"); } if (hotelPropertyInfo == null) { throw new ArgumentNullException("hotelpropertyinforepository is null"); } if (cityInfo == null) { throw new ArgumentNullException("cityinforepository is null"); } if (addSort == null) { throw new ArgumentNullException("addsortservice is null"); } if (topClass == null) { throw new ArgumentNullException("topclassservice is null"); } if (ciService == null) { throw new ArgumentNullException("cityinfoservice is null"); } if (sightInfoSort == null) { throw new ArgumentNullException("sightInfoSortRepository is null"); } if (sightInfoCirHotel == null) { throw new ArgumentNullException("sightInfoSortRepository is null"); } if (sightInfoCirSight == null) { throw new ArgumentNullException("sightInfoSortRepository is null"); } if (tourPlanDetail == null) { throw new ArgumentNullException("tourPlanDetailRepository in null"); } sightVouchItemRepository = sightVouch; sightTicketRepository = sightTicket; sightClassRepository = sightClass; sightInfoRepository = sightInfo; picInfoRepository = picInfo; sightCommRepository = sightComm; hotelPropertyInfoRepository = hotelPropertyInfo; cityInfoRepository = cityInfo; addSortService = addSort; topClassService = topClass; cityInfoService = ciService; sightInfoSortRepository = sightInfoSort; sightInfoCirHotelRepository = sightInfoCirHotel; sightInfoCirSightRepository = sightInfoCirSight; tourPlanDetailRepository = tourPlanDetail; }
/// <summary> /// Initializes a new instance of the <see cref="SightInfoService"/> class. /// </summary> public SightInfoService(iPow.Domain.Repository.ISightVouchItemRepository sightVouch, iPow.Domain.Repository.ISightTicketRepository sightTicket, iPow.Domain.Repository.ISightClassRepository sightClass, iPow.Domain.Repository.ISightInfoRepository sightInfo, iPow.Domain.Repository.IPicInfoRepository picInfo, iPow.Domain.Repository.ISightCommRepository sightComm, iPow.Domain.Repository.IHotelPropertyInfoRepository hotelPropertyInfo, iPow.Domain.Repository.ICityInfoRepository cityInfo, iPow.Application.jq.Service.IAddSortService addSort, iPow.Application.jq.Service.ITopClassService topClass, iPow.Infrastructure.Crosscutting.Comm.Service.ICityInfoService ciService, iPow.Domain.Repository.ISightInfoSortRepository sightInfoSort, iPow.Domain.Repository.ISightInfoCirHotelRepository sightInfoCirHotel, iPow.Domain.Repository.ISightInfoCirSightRepository sightInfoCirSight, iPow.Domain.Repository.ITourPlanDetailRepository tourPlanDetail) { if (sightVouch == null) { throw new ArgumentNullException("sightvouchitem is null"); } if (sightTicket == null) { throw new ArgumentNullException("sightticketrepository is null"); } if (sightClass == null) { throw new ArgumentNullException("sightclassrepository is null"); } if (sightInfo == null) { throw new ArgumentNullException("sightinforepository is null"); } if (picInfo == null) { throw new ArgumentNullException("picinforepository is null"); } if (sightComm == null) { throw new ArgumentNullException("sightCommRepository is null"); } if (hotelPropertyInfo == null) { throw new ArgumentNullException("hotelpropertyinforepository is null"); } if (cityInfo == null) { throw new ArgumentNullException("cityinforepository is null"); } if (addSort == null) { throw new ArgumentNullException("addsortservice is null"); } if (topClass == null) { throw new ArgumentNullException("topclassservice is null"); } if (ciService == null) { throw new ArgumentNullException("cityinfoservice is null"); } if (sightInfoSort == null) { throw new ArgumentNullException("sightInfoSortRepository is null"); } if (sightInfoCirHotel == null) { throw new ArgumentNullException("sightInfoSortRepository is null"); } if (sightInfoCirSight == null) { throw new ArgumentNullException("sightInfoSortRepository is null"); } if (tourPlanDetail == null) { throw new ArgumentNullException("tourPlanDetailRepository in null"); } sightVouchItemRepository = sightVouch; sightTicketRepository = sightTicket; sightClassRepository = sightClass; sightInfoRepository = sightInfo; picInfoRepository = picInfo; sightCommRepository = sightComm; hotelPropertyInfoRepository = hotelPropertyInfo; cityInfoRepository = cityInfo; addSortService = addSort; topClassService = topClass; cityInfoService = ciService; sightInfoSortRepository = sightInfoSort; sightInfoCirHotelRepository = sightInfoCirHotel; sightInfoCirSightRepository = sightInfoCirSight; tourPlanDetailRepository = tourPlanDetail; }
/// <summary> /// Initializes a new instance of the <see cref="TourPlanService"/> class. /// </summary> /// <param name="tourPlan">The tour plan.</param> /// <param name="tourPlanDetail">The tour plan detail.</param> /// <param name="tourClass">The tour class.</param> /// <param name="sightInfo">The sight info.</param> /// <param name="sightClass">The sight class.</param> /// <param name="hotelComm">The hotel comm.</param> /// <param name="hotelPropertyInfo">The hotel property info.</param> /// <param name="hotelPic">The hotel pic.</param> /// <param name="sightComm">The sight comm.</param> /// <param name="picInfo">The pic info.</param> /// <param name="siService">The si service.</param> /// <param name="ucityService">The ucity service.</param> /// <param name="hlmService">The HLM service.</param> public TourPlanService(iPow.Domain.Repository.ITourPlanRepository tourPlan, iPow.Domain.Repository.ITourPlanDetailRepository tourPlanDetail, iPow.Domain.Repository.ITourClassRepository tourClass, iPow.Domain.Repository.ISightInfoRepository sightInfo, iPow.Domain.Repository.ISightClassRepository sightClass, iPow.Domain.Repository.IHotelCommRepository hotelComm, iPow.Domain.Repository.IHotelPropertyInfoRepository hotelPropertyInfo, iPow.Domain.Repository.IHotelPicRepository hotelPic, iPow.Domain.Repository.ISightCommRepository sightComm, iPow.Domain.Repository.IPicInfoRepository picInfo, iPow.Application.jq.Service.ISightInfoService siService, iPow.Service.Union.Service.ICityService ucityService, iPow.Service.Union.Service.IHotelLeftMidService hlmService ) { if (tourPlan == null) { throw new ArgumentNullException("tourPlanRepository is null"); } if (tourPlanDetail == null) { throw new ArgumentNullException("tourPlanDetailRepository is null"); } if (tourClass == null) { throw new ArgumentNullException("tourclassrepository is null"); } if (sightInfo == null) { throw new ArgumentNullException("sightinforepository is null"); } if (sightClass == null) { throw new ArgumentNullException("sightclassrepository is null"); } if (hotelComm == null) { throw new ArgumentNullException("hotelcommrepository is null"); } if (hotelPropertyInfo == null) { throw new ArgumentNullException("hotelpropertyinforepository is null"); } if (hotelPic == null) { throw new ArgumentNullException("hotelpicrepository is null"); } if (sightComm == null) { throw new ArgumentNullException("sightcommrepository is null"); } if (picInfo == null) { throw new ArgumentNullException("picinforepository is null"); } if (siService == null) { throw new ArgumentNullException("sightinfoservice is null"); } if (ucityService == null) { throw new ArgumentNullException("unionCityService is null"); } if (ucityService == null) { throw new ArgumentNullException("hotelleftmidservice is null"); } tourPlanRepository = tourPlan; tourPlanDetailRepository = tourPlanDetail; tourClassRepository = tourClass; sightInfoRepository = sightInfo; sightClassRepository = sightClass; hotelCommRepository = hotelComm; hotelPropertyInfoRepository = hotelPropertyInfo; hotelPicRepository = hotelPic; sightCommRepository = sightComm; picInfoRepository = picInfo; sightInfoService = siService; unionCityService = ucityService; hotelLeftMidService = hlmService; }