2 instantiations of 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"));
1 reference to CorsPolicyMetadata
Microsoft.AspNetCore.Cors (1)
CorsPolicyMetadata.cs (1)
14
/// Creates a new instance of <see cref="
CorsPolicyMetadata
"/> using the specified policy.