15 instantiations of CorsMiddleware
Microsoft.AspNetCore.Cors.Test (15)
CorsMiddlewareTests.cs (15)
385
var middleware = new
CorsMiddleware
(
414
var middleware = new
CorsMiddleware
(
651
var middleware = new
CorsMiddleware
(
692
var middleware = new
CorsMiddleware
(
722
var middleware = new
CorsMiddleware
(
749
var middleware = new
CorsMiddleware
(
777
var middleware = new
CorsMiddleware
(
814
var middleware = new
CorsMiddleware
(
849
var middleware = new
CorsMiddleware
(
886
var middleware = new
CorsMiddleware
(
919
var middleware = new
CorsMiddleware
(
949
var middleware = new
CorsMiddleware
(
976
var middleware = new
CorsMiddleware
(
1001
var middleware = new
CorsMiddleware
(
1025
var middleware = new
CorsMiddleware
(
24 references to CorsMiddleware
Microsoft.AspNetCore.Cors (9)
Infrastructure\CorsMiddleware.cs (6)
24
/// Instantiates a new <see cref="
CorsMiddleware
"/>.
38
/// Instantiates a new <see cref="
CorsMiddleware
"/>.
57
Logger = loggerFactory.CreateLogger<
CorsMiddleware
>();
61
/// Instantiates a new <see cref="
CorsMiddleware
"/>.
81
Logger = loggerFactory.CreateLogger<
CorsMiddleware
>();
195
var (middleware, context, result) = (Tuple<
CorsMiddleware
, HttpContext, CorsResult>)state;
Infrastructure\CorsMiddlewareExtensions.cs (3)
22
return app.UseMiddleware<
CorsMiddleware
>();
35
return app.UseMiddleware<
CorsMiddleware
>(policyName);
53
return app.UseMiddleware<
CorsMiddleware
>(policyBuilder.Build());
Microsoft.AspNetCore.Cors.Test (15)
CorsMiddlewareTests.cs (15)
385
var
middleware = new CorsMiddleware(
414
var
middleware = new CorsMiddleware(
651
var
middleware = new CorsMiddleware(
692
var
middleware = new CorsMiddleware(
722
var
middleware = new CorsMiddleware(
749
var
middleware = new CorsMiddleware(
777
var
middleware = new CorsMiddleware(
814
var
middleware = new CorsMiddleware(
849
var
middleware = new CorsMiddleware(
886
var
middleware = new CorsMiddleware(
919
var
middleware = new CorsMiddleware(
949
var
middleware = new CorsMiddleware(
976
var
middleware = new CorsMiddleware(
1001
var
middleware = new CorsMiddleware(
1025
var
middleware = new CorsMiddleware(