Пример #1
0
 public GolangPlatform(
     IOptions <GolangScriptGeneratorOptions> goScriptGeneratorOptions,
     IOptions <BuildScriptGeneratorOptions> commonOptions,
     IGolangVersionProvider goVersionProvider,
     ILogger <GolangPlatform> logger,
     IGolangPlatformDetector detector,
     GolangPlatformInstaller golangInstaller)
 {
     this.goScriptGeneratorOptions = goScriptGeneratorOptions.Value;
     this.commonOptions            = commonOptions.Value;
     this.goVersionProvider        = goVersionProvider;
     this.logger          = logger;
     this.detector        = detector;
     this.golangInstaller = golangInstaller;
 }
Пример #2
0
 public TestGolangPlatform(
     IOptions <GolangScriptGeneratorOptions> golangScriptGeneratorOptions,
     IOptions <BuildScriptGeneratorOptions> commonOptions,
     IGolangVersionProvider goVersionProvider,
     ILogger <GolangPlatform> logger,
     IGolangPlatformDetector detector,
     GolangPlatformInstaller golangInstaller)
     : base(
         golangScriptGeneratorOptions,
         commonOptions,
         goVersionProvider,
         logger,
         detector,
         golangInstaller)
 {
 }