10 instantiations of DisableCorsAttribute
CorsWebSite (2)
Controllers\BlogController.cs (1)
24
[
DisableCors
]
Controllers\StoreController.cs (1)
30
[
DisableCors
]
Microsoft.AspNetCore.Cors.Test (6)
CorsMiddlewareTests.cs (6)
756
httpContext.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(new EnableCorsAttribute(), new
DisableCorsAttribute
()), "Test endpoint"));
788
httpContext.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(new EnableCorsAttribute(), new
DisableCorsAttribute
()), "Test endpoint"));
926
httpContext.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(new
DisableCorsAttribute
()), "Test endpoint"));
956
httpContext.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(new EnableCorsAttribute("MetadataPolicyName"), new
DisableCorsAttribute
()), "Test endpoint"));
983
httpContext.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(new EnableCorsAttribute("MetadataPolicyName"), new
DisableCorsAttribute
()), "Test endpoint"));
1008
httpContext.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(new EnableCorsAttribute("MetadataPolicyName"), new
DisableCorsAttribute
()), "Test endpoint"));
Microsoft.AspNetCore.Mvc.Cors.Test (2)
CorsApplicationModelProviderTest.cs (2)
234
[
DisableCors
]
251
[
DisableCors
]