2 instantiations of DefaultCorsPolicyProvider
Microsoft.AspNetCore.Cors.Test (2)
DefaultCorsPolicyProviderTests.cs (2)
20
var policyProvider = new
DefaultCorsPolicyProvider
(corsOptions);
40
var policyProvider = new
DefaultCorsPolicyProvider
(corsOptions);
4 references to DefaultCorsPolicyProvider
Microsoft.AspNetCore.Cors (2)
CorsServiceCollectionExtensions.cs (1)
26
services.TryAdd(ServiceDescriptor.Transient<ICorsPolicyProvider,
DefaultCorsPolicyProvider
>());
Infrastructure\DefaultCorsPolicyProvider.cs (1)
16
/// Creates a new instance of <see cref="
DefaultCorsPolicyProvider
"/>.
Microsoft.AspNetCore.Cors.Test (2)
DefaultCorsPolicyProviderTests.cs (2)
20
var
policyProvider = new DefaultCorsPolicyProvider(corsOptions);
40
var
policyProvider = new DefaultCorsPolicyProvider(corsOptions);