Share via


DefaultCorsPolicyProvider(IOptions<CorsOptions>) Constructor

Definition

Creates a new instance of DefaultCorsPolicyProvider.

public:
 DefaultCorsPolicyProvider(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Cors::Infrastructure::CorsOptions ^> ^ options);
public DefaultCorsPolicyProvider (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions> options);
new Microsoft.AspNetCore.Cors.Infrastructure.DefaultCorsPolicyProvider : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions> -> Microsoft.AspNetCore.Cors.Infrastructure.DefaultCorsPolicyProvider
Public Sub New (options As IOptions(Of CorsOptions))

Parameters

options
IOptions<CorsOptions>

The options configured for the application.

Applies to