2 instantiations of EnableCorsAttribute
Microsoft.AspNetCore.Cors (2)
Infrastructure\CorsEndpointConventionBuilderExtensions.cs (2)
25
endpointBuilder.Metadata.Add(new
EnableCorsAttribute
());
42
endpointBuilder.Metadata.Add(new
EnableCorsAttribute
(policyName));
2 references to EnableCorsAttribute
Microsoft.AspNetCore.Cors (2)
EnableCorsAttribute.cs (2)
16
/// Creates a new instance of the <see cref="
EnableCorsAttribute
"/> with the default policy
25
/// Creates a new instance of the <see cref="
EnableCorsAttribute
"/> with the supplied policy name.