6 references to WithInboundPolicy
Aspire.Hosting.Azure.ApiManagement (2)
AzureApiManagementExtensions.cs (2)
656builder.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)
449apim.WithInboundPolicy("<set-header name=\"x-service\" exists-action=\"override\"><value>service</value></set-header>"); 456Assert.Throws<ArgumentException>(() => apim.WithInboundPolicy("<policies />")); 855}).WithInboundPolicy( 2193}).WithInboundPolicy("<set-header name=\"x-test\" exists-action=\"override\"><value>true</value></set-header>");