Ejemplo n.º 1
0
 public VideoCommService( iPow.Domain.Repository.IVideoCommRepository videoComm)
 {
     if (videoComm == null)
         {
             throw new ArgumentNullException(" videoCommRepository   is null");
         }
         videoCommRepository = videoComm;
 }
Ejemplo n.º 2
0
 public VideoCommService(iPow.Domain.Repository.IVideoCommRepository videoComm)
 {
     if (videoComm == null)
     {
         throw new ArgumentNullException(" videoCommRepository   is null");
     }
     videoCommRepository = videoComm;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VideoInfoService"/> class.
 /// </summary>
 /// <param name="videoInfo">The video info.</param>
 /// <param name="videoComm">The video comm.</param>
 public VideoInfoService(iPow.Domain.Repository.IVideoInfoRepository videoInfo,
                         iPow.Domain.Repository.IVideoCommRepository videoComm)
 {
     if (videoInfo == null)
     {
         throw new ArgumentNullException("videoinforepository is null");
     }
     if (videoComm == null)
     {
         throw new ArgumentNullException("videocommrepository is null");
     }
     videoInfoRepository = videoInfo;
     videoCommRepository = videoComm;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VideoInfoService"/> class.
 /// </summary>
 /// <param name="videoInfo">The video info.</param>
 /// <param name="videoComm">The video comm.</param>
 public VideoInfoService(iPow.Domain.Repository.IVideoInfoRepository videoInfo,
     iPow.Domain.Repository.IVideoCommRepository videoComm)
 {
     if (videoInfo == null)
     {
         throw new ArgumentNullException("videoinforepository is null");
     }
     if (videoComm == null)
     {
         throw new ArgumentNullException("videocommrepository is null");
     }
     videoInfoRepository = videoInfo;
     videoCommRepository = videoComm;
 }