コード例 #1
0
ファイル: VideoCommService.cs プロジェクト: JPomichael/IPOW
 public VideoCommService( iPow.Domain.Repository.IVideoCommRepository videoComm)
 {
     if (videoComm == null)
         {
             throw new ArgumentNullException(" videoCommRepository   is null");
         }
         videoCommRepository = videoComm;
 }
コード例 #2
0
ファイル: VideoCommService.cs プロジェクト: JPomichael/IPOW
 public VideoCommService(iPow.Domain.Repository.IVideoCommRepository videoComm)
 {
     if (videoComm == null)
     {
         throw new ArgumentNullException(" videoCommRepository   is null");
     }
     videoCommRepository = videoComm;
 }
コード例 #3
0
ファイル: VideoInfoService.cs プロジェクト: JPomichael/IPOW
 /// <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;
 }
コード例 #4
0
ファイル: VideoInfoService.cs プロジェクト: JPomichael/IPOW
 /// <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;
 }