Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PicInfoService"/> class.
 /// </summary>
 /// <param name="picInfo">The pic info.</param>
 /// <param name="picComm">The pic comm.</param>
 /// <param name="picClass">The pic class.</param>
 public PicInfoService(iPow.Domain.Repository.IPicInfoRepository picInfo,
                       iPow.Domain.Repository.IPicCommRepository picComm,
                       iPow.Domain.Repository.IPicClassRepository picClass,
                       iPow.Application.jq.Service.ISightInfoService sis)
 {
     if (picInfo == null)
     {
         throw new ArgumentNullException("picinforepository is null");
     }
     if (picComm == null)
     {
         throw new ArgumentNullException("piccommrepository is null");
     }
     if (picClass == null)
     {
         throw new ArgumentNullException("picclassrepository is null");
     }
     if (sis == null)
     {
         throw new ArgumentNullException("sightinfoservice is null");
     }
     picInfoRepository  = picInfo;
     picCommRepository  = picComm;
     picClassRepository = picClass;
     sightInfoService   = sis;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PicInfoService"/> class.
 /// </summary>
 /// <param name="picInfo">The pic info.</param>
 /// <param name="picComm">The pic comm.</param>
 /// <param name="picClass">The pic class.</param>
 public PicInfoService(iPow.Domain.Repository.IPicInfoRepository picInfo,
     iPow.Domain.Repository.IPicCommRepository picComm,
     iPow.Domain.Repository.IPicClassRepository picClass,
     iPow.Application.jq.Service.ISightInfoService sis)
 {
     if (picInfo == null)
     {
         throw new ArgumentNullException("picinforepository is null");
     }
     if (picComm == null)
     {
         throw new ArgumentNullException("piccommrepository is null");
     }
     if (picClass == null)
     {
         throw new ArgumentNullException("picclassrepository is null");
     }
     if (sis == null)
     {
         throw new ArgumentNullException("sightinfoservice is null");
     }
     picInfoRepository = picInfo;
     picCommRepository = picComm;
     picClassRepository = picClass;
     sightInfoService = sis;
 }
Esempio n. 3
0
 public PicCommService( iPow.Domain.Repository.IPicCommRepository picComm)
 {
     if (picComm == null)
         {
             throw new ArgumentNullException(" picCommRepository   is null");
         }
         picCommRepository = picComm;
 }
Esempio n. 4
0
 public PicCommService(iPow.Domain.Repository.IPicCommRepository picComm)
 {
     if (picComm == null)
     {
         throw new ArgumentNullException(" picCommRepository   is null");
     }
     picCommRepository = picComm;
 }
Esempio n. 5
0
 public PicController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work,
     iPow.Application.jq.Service.IPicInfoService ipowPicInfo,
     iPow.Domain.Repository.IPicCommRepository picComm)
     : base(work)
 {
     if (ipowPicInfo == null)
     {
         throw new ArgumentNullException("picInfoService is null");
     }
     if (picComm == null)
     {
         throw new ArgumentNullException("picInfoRepository is null");
     }
     picInfoService = ipowPicInfo;
     picCommRepository = picComm;
 }
Esempio n. 6
0
 public PicController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work,
                      iPow.Application.jq.Service.IPicInfoService ipowPicInfo,
                      iPow.Domain.Repository.IPicCommRepository picComm)
     : base(work)
 {
     if (ipowPicInfo == null)
     {
         throw new ArgumentNullException("picInfoService is null");
     }
     if (picComm == null)
     {
         throw new ArgumentNullException("picInfoRepository is null");
     }
     picInfoService    = ipowPicInfo;
     picCommRepository = picComm;
 }