Beispiel #1
0
 public PlatformsInstallationScriptProvider(
     IEnumerable <IProgrammingPlatform> platforms,
     DefaultPlatformDetector platformDetector,
     IStandardOutputWriter outputWriter)
 {
     _platforms        = platforms;
     _platformDetector = platformDetector;
     _outputWriter     = outputWriter;
 }
Beispiel #2
0
 public DefaultBuildScriptGenerator(
     DefaultPlatformDetector platformDetector,
     PlatformsInstallationScriptProvider environmentSetupScriptProvider,
     IOptions <BuildScriptGeneratorOptions> cliOptions,
     ICompatiblePlatformDetector compatiblePlatformDetector,
     IEnumerable <IChecker> checkers,
     ILogger <DefaultBuildScriptGenerator> logger,
     IStandardOutputWriter writer)
 {
     _platformDetector = platformDetector;
     _environmentSetupScriptProvider = environmentSetupScriptProvider;
     _cliOptions = cliOptions.Value;
     _compatiblePlatformDetector = compatiblePlatformDetector;
     _logger   = logger;
     _checkers = checkers;
     _writer   = writer;
     _logger.LogDebug("Available checkers: {checkerCount}", _checkers?.Count() ?? 0);
 }