2 references to CorsPolicyMetadata
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsEndpointConventionBuilderExtensions.cs (1)
64
endpointBuilder.Metadata.Add(new
CorsPolicyMetadata
(policy));
Microsoft.AspNetCore.Cors.Test (1)
CorsMiddlewareTests.cs (1)
856
httpContext.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(new
CorsPolicyMetadata
(metadataPolicy)), "Test endpoint"));