/// <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;
 }
Beispiel #2
0
 /// <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>
 /// Initializes a new instance of the <see cref="HeadVouchDataService"/> class.
 /// </summary>
 public HeadVouchDataService(iPow.Domain.Repository.ISightInfoRepository sight, iPow.Domain.Repository.ILinkInfoRepository link)
 {
     if (sight == null)
     {
         throw new ArgumentNullException("sightinforepository is null");
     }
     if (link == null)
     {
         throw new ArgumentNullException("linkinforepository is null");
     }
     sightInfoRepository = sight;
     linkInfoRepository = link;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="HeadVouchDataService"/> class.
 /// </summary>
 public HeadVouchDataService(iPow.Domain.Repository.ISightInfoRepository sight, iPow.Domain.Repository.ILinkInfoRepository link)
 {
     if (sight == null)
     {
         throw new ArgumentNullException("sightinforepository is null");
     }
     if (link == null)
     {
         throw new ArgumentNullException("linkinforepository is null");
     }
     sightInfoRepository = sight;
     linkInfoRepository  = link;
 }