Implemented interface member:
method
GetPolicyAsync
Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyProvider.GetPolicyAsync(Microsoft.AspNetCore.Http.HttpContext, System.String)
2 references to GetPolicyAsync
Microsoft.AspNetCore.Cors.Test (2)
DefaultCorsPolicyProviderTests.cs (2)
23
var actualPolicy = await policyProvider.
GetPolicyAsync
(new DefaultHttpContext(), policyName: null);
43
var actualPolicy = await policyProvider.
GetPolicyAsync
(new DefaultHttpContext(), policyName);