public ChannelSuggestionsUseCase( ISuggestionRepository suggestionRepository, IYouTubeChannelDetailUseCase youTubeChannelDetailUseCase ) { _suggestionRepository = suggestionRepository ?? throw new ArgumentNullException("suggestionRepository"); _youTubeChannelDetailUseCase = youTubeChannelDetailUseCase ?? throw new ArgumentNullException("youTubeChannelDetailUseCase"); }
public IdentifySailingChannelUseCase( IExtractYouTubeChannelIDUseCase extractYouTubeChannelIdUseCase, IYouTubeChannelDetailUseCase youTubeChannelDetailUseCase, ISuggestionRepository suggestionRepository ) { _extractYouTubeChannelIdUseCase = extractYouTubeChannelIdUseCase ?? throw new ArgumentNullException(nameof(extractYouTubeChannelIdUseCase)); _youTubeChannelDetailUseCase = youTubeChannelDetailUseCase ?? throw new ArgumentNullException(nameof(youTubeChannelDetailUseCase)); _suggestionRepository = suggestionRepository ?? throw new ArgumentNullException(nameof(suggestionRepository)); }