public YouTubeChannelDetailUseCase(
     IYouTubeDataService youtubeDataService,
     IChannelRepository channelRepository,
     ISailingTermRepository sailingTermRepository
     )
 {
     _youtubeDataService    = youtubeDataService ?? throw new ArgumentNullException(nameof(youtubeDataService));
     _channelRepository     = channelRepository ?? throw new ArgumentNullException(nameof(channelRepository));
     _sailingTermRepository = sailingTermRepository ?? throw new ArgumentNullException(nameof(sailingTermRepository));
 }
示例#2
0
 public ExtractYouTubeChannelIDUseCase(
     IYouTubeDataService ytService
     )
 {
     _ytService = ytService ?? throw new ArgumentNullException(nameof(ytService));
 }