Example #1
0
 public PythonVersionProvider(
     IOptions <BuildScriptGeneratorOptions> options,
     PythonOnDiskVersionProvider onDiskVersionProvider,
     PythonSdkStorageVersionProvider sdkStorageVersionProvider)
 {
     _options = options.Value;
     _onDiskVersionProvider     = onDiskVersionProvider;
     _sdkStorageVersionProvider = sdkStorageVersionProvider;
 }
Example #2
0
 public PythonVersionProvider(
     IOptions <BuildScriptGeneratorOptions> options,
     PythonOnDiskVersionProvider onDiskVersionProvider,
     PythonSdkStorageVersionProvider sdkStorageVersionProvider,
     ILogger <PythonVersionProvider> logger)
 {
     this.options = options.Value;
     this.onDiskVersionProvider     = onDiskVersionProvider;
     this.sdkStorageVersionProvider = sdkStorageVersionProvider;
     this.logger = logger;
 }