示例#1
0
 public DotnetCorePlatform(
     IDotnetCoreVersionProvider versionProvider,
     IAspNetCoreWebAppProjectFileProvider aspNetCoreWebAppProjectFileProvider,
     ILogger <DotnetCorePlatform> logger,
     DotnetCoreLanguageDetector detector)
 {
     _versionProvider = versionProvider;
     _aspNetCoreWebAppProjectFileProvider = aspNetCoreWebAppProjectFileProvider;
     _logger   = logger;
     _detector = detector;
 }
示例#2
0
 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;
 }