/// <summary> /// Initializes a new instance of the <see cref="SinaInfoService"/> class. /// </summary> /// <param name="location">The location.</param> public SinaInfoService(Miaow.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(Miaow.Infrastructure.Crosscutting.NetFramework.IWorkContext work, Miaow.Infrastructure.Crosscutting.Comm.Service.ILocationService MiaowLocaltion, Miaow.Service.Union.Service.ITodayLowPriceService MiaowTodayLowPrice, Miaow.Service.Union.Service.ICityService MiaowCity) : base(work) { if (MiaowLocaltion == null) { throw new ArgumentNullException("localtionService is null"); } if (MiaowTodayLowPrice == null) { throw new ArgumentNullException("todayLowPriceService is null"); } if (MiaowCity == null) { throw new ArgumentNullException("cityService is null"); } localtionService = MiaowLocaltion; todayLowPriceService = MiaowTodayLowPrice; cityService = MiaowCity; }