public DotnetCorePlatform( IDotnetCoreVersionProvider versionProvider, IAspNetCoreWebAppProjectFileProvider aspNetCoreWebAppProjectFileProvider, ILogger <DotnetCorePlatform> logger, DotnetCoreLanguageDetector detector) { _versionProvider = versionProvider; _aspNetCoreWebAppProjectFileProvider = aspNetCoreWebAppProjectFileProvider; _logger = logger; _detector = detector; }
public DotnetCorePlatform( IDotnetCoreVersionProvider versionProvider, IAspNetCoreWebAppProjectFileProvider aspNetCoreWebAppProjectFileProvider, IEnvironmentSettingsProvider environmentSettingsProvider, ILogger <DotnetCorePlatform> logger, DotnetCoreLanguageDetector detector, IOptions <DotnetCoreScriptGeneratorOptions> options) { _versionProvider = versionProvider; _aspNetCoreWebAppProjectFileProvider = aspNetCoreWebAppProjectFileProvider; _environmentSettingsProvider = environmentSettingsProvider; _logger = logger; _detector = detector; _options = options.Value; }