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