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)
23var actualPolicy = await policyProvider.GetPolicyAsync(new DefaultHttpContext(), policyName: null); 43var actualPolicy = await policyProvider.GetPolicyAsync(new DefaultHttpContext(), policyName);