Implemented interface member:
method
EvaluatePolicy
Microsoft.AspNetCore.Cors.Infrastructure.ICorsService.EvaluatePolicy(Microsoft.AspNetCore.Http.HttpContext, Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy)
32 references to EvaluatePolicy
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsService.cs (1)
54return EvaluatePolicy(context, policy);
Microsoft.AspNetCore.Cors.Test (31)
CorsServiceTests.cs (31)
27() => corsService.EvaluatePolicy(requestContext, policy), 40var result = corsService.EvaluatePolicy(requestContext, new CorsPolicy()); 57var result = corsService.EvaluatePolicy(requestContext, policy); 72var result = corsService.EvaluatePolicy(requestContext, policy); 91var result = corsService.EvaluatePolicy(requestContext, policy); 112var result = corsService.EvaluatePolicy(requestContext, policy); 128var result = corsService.EvaluatePolicy(requestContext, policy); 147var result = corsService.EvaluatePolicy(requestContext, policy); 166var result = corsService.EvaluatePolicy(requestContext, policy); 182var result = corsService.EvaluatePolicy(requestContext, policy); 199var result = corsService.EvaluatePolicy(requestContext, policy); 217var result = corsService.EvaluatePolicy(requestContext, policy); 234var result = corsService.EvaluatePolicy(requestContext, policy); 251var result = corsService.EvaluatePolicy(requestContext, policy); 268var result = corsService.EvaluatePolicy(requestContext, policy); 287var result = corsService.EvaluatePolicy(requestContext, policy); 304var result = corsService.EvaluatePolicy(requestContext, policy); 321var result = corsService.EvaluatePolicy(requestContext, policy); 345var result = corsService.EvaluatePolicy(requestContext, policy); 367var result = corsService.EvaluatePolicy(requestContext, policy); 387var result = corsService.EvaluatePolicy(requestContext, policy); 407var result = corsService.EvaluatePolicy(requestContext, policy); 427var result = corsService.EvaluatePolicy(requestContext, policy); 444var result = corsService.EvaluatePolicy(requestContext, policy); 467var result = corsService.EvaluatePolicy(requestContext, policy); 485var result = corsService.EvaluatePolicy(requestContext, policy); 508var result = corsService.EvaluatePolicy(requestContext, policy); 532var result = corsService.EvaluatePolicy(requestContext, policy); 552var result = corsService.EvaluatePolicy(httpContext, policy); 913var result = corsService.EvaluatePolicy(requestContext, policy); 931var result = corsService.EvaluatePolicy(requestContext, policy);