public OciModuleRegistry(IFileResolver FileResolver, IContainerRegistryClientFactory clientFactory, IFeatureProvider features) : base(FileResolver) { this.cachePath = Path.Combine(features.CacheRootDirectory, ModuleReferenceSchemes.Oci); this.client = new AzureContainerRegistryManager(clientFactory); }
public OciModuleRegistry(IFileResolver fileResolver, IContainerRegistryClientFactory clientFactory, IFeatureProvider features) { this.fileResolver = fileResolver; this.cachePath = Path.Combine(features.CacheRootDirectory, ModuleReferenceSchemes.Oci); this.client = new AzureContainerRegistryManager(new DefaultAzureCredential(), clientFactory); }