コード例 #1
0
 public AnalyzerPluginGenerator(INuGetPackageHandler packageHandler, SonarQube.Plugins.Common.ILogger logger)
 {
     if (packageHandler == null)
     {
         throw new ArgumentNullException("packageHandler");
     }
     if (logger == null)
     {
         throw new ArgumentNullException("logger");
     }
     this.packageHandler = packageHandler;
     this.logger = logger;
 }
コード例 #2
0
 public AnalyzerPluginGenerator(INuGetPackageHandler packageHandler, SonarQube.Plugins.Common.ILogger logger)
 {
     if (packageHandler == null)
     {
         throw new ArgumentNullException("packageHandler");
     }
     if (logger == null)
     {
         throw new ArgumentNullException("logger");
     }
     this.packageHandler = packageHandler;
     this.logger         = logger;
 }
コード例 #3
0
 public AnalyzerPluginGenerator(INuGetPackageHandler packageHandler, SonarQube.Plugins.Common.ILogger logger)
 {
     this.packageHandler = packageHandler ?? throw new ArgumentNullException(nameof(packageHandler));
     this.logger         = logger ?? throw new ArgumentNullException(nameof(logger));
 }