5 references to WithApi
Aspire.Hosting.Azure.Tests (4)
AzureApiManagementTests.cs (4)
1316
.
WithApi
(api)
1344
apim.AddProduct("catalog-product", "Catalog product").
WithApi
(catalogApi);
1345
apim.AddProduct("catalog", "Catalog").
WithApi
(productCatalogApi);
1385
Assert.Throws<InvalidOperationException>(() => product.
WithApi
(otherApi));
AzureApiManagement.AppHost (1)
AppHost.cs (1)
96
.
WithApi
(catalogApi)