4 references to GetPolicy
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsService.cs (1)
48var policy = _options.GetPolicy(policyName);
Microsoft.AspNetCore.Cors.Test (3)
CorsOptionsTest.cs (3)
21var actualPolicy = corsOptions.GetPolicy(corsOptions.DefaultPolicyName); 37var actualPolicy = corsOptions.GetPolicy(corsOptions.DefaultPolicyName); 60var actualPolicy = corsOptions.GetPolicy(corsOptions.DefaultPolicyName);