4 references to PolicyMap
Microsoft.AspNetCore.Cors (4)
Infrastructure\CorsOptions.cs (3)
62
PolicyMap
[name] = (policy, Task.FromResult(policy));
79
PolicyMap
[name] = (policy, Task.FromResult(policy));
91
if (
PolicyMap
.TryGetValue(name, out var result))
Infrastructure\DefaultCorsPolicyProvider.cs (1)
30
if (_options.
PolicyMap
.TryGetValue(policyName, out var result))