コード例 #1
0
 public ArgumentParser(IEnvironment environment, ICurrentBuildAgent buildAgent, IConsole console, IGlobbingResolver globbingResolver)
 {
     this.environment      = environment ?? throw new ArgumentNullException(nameof(environment));
     this.console          = console ?? throw new ArgumentNullException(nameof(console));
     this.globbingResolver = globbingResolver ?? throw new ArgumentNullException(nameof(globbingResolver));
     this.buildAgent       = buildAgent;
 }
コード例 #2
0
ファイル: ArgumentParser.cs プロジェクト: GitTools/GitVersion
 public ArgumentParser(IEnvironment environment, ICurrentBuildAgent buildAgent, IConsole console, IGlobbingResolver globbingResolver)
 {
     this.environment      = environment.NotNull();
     this.console          = console.NotNull();
     this.globbingResolver = globbingResolver.NotNull();
     this.buildAgent       = buildAgent;
 }