public DefaultBuildScriptGenerator( DefaultPlatformsInformationProvider platformsInformationProvider, PlatformsInstallationScriptProvider environmentSetupScriptProvider, IOptions <BuildScriptGeneratorOptions> cliOptions, ICompatiblePlatformDetector compatiblePlatformDetector, IEnumerable <IChecker> checkers, ILogger <DefaultBuildScriptGenerator> logger, IStandardOutputWriter writer) { this.platformsInformationProvider = platformsInformationProvider; this.environmentSetupScriptProvider = environmentSetupScriptProvider; this.cliOptions = cliOptions.Value; this.compatiblePlatformDetector = compatiblePlatformDetector; this.logger = logger; this.checkers = checkers; this.writer = writer; this.logger.LogDebug("Available checkers: {checkerCount}", this.checkers?.Count() ?? 0); }
public PlatformInstallerBase(IOptions <BuildScriptGeneratorOptions> commonOptions, IEnvironment environment) { _commonOptions = commonOptions.Value; _environment = environment; }