예제 #1
0
 public DotNetCoreVersionProvider(
     IOptions <BuildScriptGeneratorOptions> cliOptions,
     DotNetCoreOnDiskVersionProvider onDiskVersionProvider,
     DotNetCoreSdkStorageVersionProvider sdkStorageVersionProvider)
 {
     _cliOptions                = cliOptions.Value;
     _onDiskVersionProvider     = onDiskVersionProvider;
     _sdkStorageVersionProvider = sdkStorageVersionProvider;
 }
예제 #2
0
 public DotNetCoreVersionProvider(
     IOptions <BuildScriptGeneratorOptions> cliOptions,
     DotNetCoreOnDiskVersionProvider onDiskVersionProvider,
     DotNetCoreSdkStorageVersionProvider sdkStorageVersionProvider,
     ILogger <DotNetCoreVersionProvider> logger)
 {
     this.cliOptions                = cliOptions.Value;
     this.onDiskVersionProvider     = onDiskVersionProvider;
     this.sdkStorageVersionProvider = sdkStorageVersionProvider;
     this.logger = logger;
 }