6 references to WithInboundPolicy
Aspire.Hosting.Azure.ApiManagement (2)
AzureApiManagementExtensions.cs (2)
656
builder.
WithInboundPolicy
(CreateIncludeFragmentPolicy(fragment.Resource.FragmentName));
1315
/// this method cannot be combined with <see cref="
WithInboundPolicy
(IResourceBuilder{AzureApiManagementResource}, string)"/>
Aspire.Hosting.Azure.Tests (4)
AzureApiManagementTests.cs (4)
449
apim.
WithInboundPolicy
("<set-header name=\"x-service\" exists-action=\"override\"><value>service</value></set-header>");
456
Assert.Throws<ArgumentException>(() => apim.
WithInboundPolicy
("<policies />"));
855
}).
WithInboundPolicy
(
2193
}).
WithInboundPolicy
("<set-header name=\"x-test\" exists-action=\"override\"><value>true</value></set-header>");