Ejemplo n.º 1
0
 public SightTicketService(iPow.Domain.Repository.ISightTicketRepository sightTicket)
 {
     if (sightTicket == null)
     {
         throw new ArgumentNullException(" sightTicketRepository   is null");
     }
     sightTicketRepository = sightTicket;
 }
Ejemplo n.º 2
0
 public SightTicketService( iPow.Domain.Repository.ISightTicketRepository sightTicket)
 {
     if (sightTicket == null)
         {
             throw new ArgumentNullException(" sightTicketRepository   is null");
         }
         sightTicketRepository = sightTicket;
 }
Ejemplo n.º 3
0
 /// <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;
 }
Ejemplo n.º 4
0
 /// <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;
 }