3 instantiations of FoundryLocalHealthCheck
Aspire.Hosting.Azure.Tests (2)
FoundryExtensionsTests.cs (2)
514var healthCheck = new FoundryLocalHealthCheck(resource, new TestHttpClientFactory(handler)); 541var healthCheck = new FoundryLocalHealthCheck(resource, new TestHttpClientFactory(handler));
Aspire.Hosting.Foundry (1)
FoundryExtensions.cs (1)
247sp => new FoundryLocalHealthCheck(resource, sp.GetRequiredService<IHttpClientFactory>()),
5 references to FoundryLocalHealthCheck
Aspire.Hosting.Azure.Tests (3)
FoundryExtensionsTests.cs (3)
514var healthCheck = new FoundryLocalHealthCheck(resource, new TestHttpClientFactory(handler)); 541var healthCheck = new FoundryLocalHealthCheck(resource, new TestHttpClientFactory(handler)); 570using var serviceHealthClient = httpClientFactory.CreateClient(nameof(FoundryLocalHealthCheck));
Aspire.Hosting.Foundry (2)
FoundryExtensions.cs (1)
252builder.ApplicationBuilder.Services.AddHttpClient(nameof(FoundryLocalHealthCheck), client =>
FoundryLocalHealthCheck.cs (1)
20using var httpClient = httpClientFactory.CreateClient(nameof(FoundryLocalHealthCheck));