public GitignoreGetCommandHandler(IGitignoreGithubService githubService, IGitignoreFileWriter gitignoreFileWriter) { _githubService = githubService ?? throw new ArgumentNullException(nameof(githubService)); _gitignoreFileWriter = gitignoreFileWriter ?? throw new ArgumentNullException(nameof(gitignoreFileWriter)); }
public GitignoreListCommandHandler(IGitignoreGithubService githubService, IConsole console) { _githubService = githubService ?? throw new ArgumentNullException(nameof(githubService)); _console = console ?? throw new ArgumentNullException(nameof(console)); }