public string GetDefaultRuntimeVersion() { if (string.IsNullOrEmpty(_defaultRuntimeVersion)) { _defaultRuntimeVersion = _cliOptions.EnableDynamicInstall ? _sdkStorageVersionProvider.GetDefaultRuntimeVersion() : _onDiskVersionProvider.GetDefaultRuntimeVersion(); } return(_defaultRuntimeVersion); }
public string GetDefaultRuntimeVersion() { if (string.IsNullOrEmpty(_defaultRuntimeVersion)) { _defaultRuntimeVersion = _cliOptions.EnableDynamicInstall ? _sdkStorageVersionProvider.GetDefaultRuntimeVersion() : _onDiskVersionProvider.GetDefaultRuntimeVersion(); } _logger.LogDebug("Default runtime version is {defaultRuntimeVersion}", _defaultRuntimeVersion); return(_defaultRuntimeVersion); }