/// <summary> /// Initializes a new instance of the <see cref="SinaInfoService"/> class. /// </summary> /// <param name="location">The location.</param> public SinaInfoService(iPow.Infrastructure.Crosscutting.Comm.Service.ILocationService location) { if (location == null) { throw new ArgumentNullException("locationservice is null"); } locationService = location; }
/// <summary> /// Initializes a new instance of the <see cref="SinaInfoService"/> class. /// </summary> /// <param name="location">The location.</param> public SinaInfoService(iPow.Infrastructure.Crosscutting.Comm.Service.ILocationService location) { if (location == null) { throw new ArgumentNullException("locationservice is null"); } locationService = location; }
/// <summary> /// Initializes a new instance of the <see cref="RightTodayLowPriceHotHotelController"/> class. /// </summary> public RightTodayLowPriceHotHotelController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work, iPow.Infrastructure.Crosscutting.Comm.Service.ILocationService ipowLocaltion, iPow.Service.Union.Service.ITodayLowPriceService ipowTodayLowPrice, iPow.Service.Union.Service.ICityService ipowCity) : base(work) { if (ipowLocaltion == null) { throw new ArgumentNullException("localtionService is null"); } if (ipowTodayLowPrice == null) { throw new ArgumentNullException("todayLowPriceService is null"); } if (ipowCity == null) { throw new ArgumentNullException("cityService is null"); } localtionService = ipowLocaltion; todayLowPriceService = ipowTodayLowPrice; cityService = ipowCity; }
/// <summary> /// Initializes a new instance of the <see cref="RightTodayLowPriceHotHotelController"/> class. /// </summary> public RightTodayLowPriceHotHotelController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work, iPow.Infrastructure.Crosscutting.Comm.Service.ILocationService ipowLocaltion, iPow.Service.Union.Service.ITodayLowPriceService ipowTodayLowPrice, iPow.Service.Union.Service.ICityService ipowCity) : base(work) { if (ipowLocaltion == null) { throw new ArgumentNullException("localtionService is null"); } if (ipowTodayLowPrice == null) { throw new ArgumentNullException("todayLowPriceService is null"); } if (ipowCity == null) { throw new ArgumentNullException("cityService is null"); } localtionService = ipowLocaltion; todayLowPriceService = ipowTodayLowPrice; cityService = ipowCity; }