コード例 #1
0
 public GitignoreGetCommandHandler(IGitignoreGithubService githubService, IGitignoreFileWriter gitignoreFileWriter)
 {
     _githubService       = githubService ?? throw new ArgumentNullException(nameof(githubService));
     _gitignoreFileWriter = gitignoreFileWriter ?? throw new ArgumentNullException(nameof(gitignoreFileWriter));
 }
コード例 #2
0
 public GitignoreListCommandHandler(IGitignoreGithubService githubService, IConsole console)
 {
     _githubService = githubService ?? throw new ArgumentNullException(nameof(githubService));
     _console       = console ?? throw new ArgumentNullException(nameof(console));
 }