5 references to TryGetContainerImageName
Aspire.Hosting (2)
Dcp\ApplicationExecutor.cs (2)
1456if (!container.TryGetContainerImageName(out var containerImageName)) 1549new(KnownProperties.Container.Image, cr.ModelResource.TryGetContainerImageName(out var imageName) ? imageName : ""),
Aspire.Hosting.Azure.AppContainers (1)
AzureContainerAppsInfrastructure.cs (1)
241return resource.TryGetContainerImageName(out containerImageName);
Aspire.Hosting.Tests (2)
ResourceExtensionsTests.cs (2)
150Assert.True(container.Resource.TryGetContainerImageName(out var imageName)); 160Assert.True(container.Resource.TryGetContainerImageName(out var imageName));