次の方法で共有


CorsService コンストラクター

定義

オーバーロード

CorsService(IOptions<CorsOptions>)
古い.

CorsService の新しいインスタンスを作成します。

CorsService(IOptions<CorsOptions>, ILoggerFactory)

CorsService の新しいインスタンスを作成します。

CorsService(IOptions<CorsOptions>)

ソース:
CorsService.cs
ソース:
CorsService.cs

注意事項

This constructor is obsolete and will be removed in a future version.

CorsService の新しいインスタンスを作成します。

public:
 CorsService(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Cors::Infrastructure::CorsOptions ^> ^ options);
public CorsService (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions> options);
[System.Obsolete("This constructor is obsolete and will be removed in a future version.")]
public CorsService (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions> options);
new Microsoft.AspNetCore.Cors.Infrastructure.CorsService : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions> -> Microsoft.AspNetCore.Cors.Infrastructure.CorsService
[<System.Obsolete("This constructor is obsolete and will be removed in a future version.")>]
new Microsoft.AspNetCore.Cors.Infrastructure.CorsService : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions> -> Microsoft.AspNetCore.Cors.Infrastructure.CorsService
Public Sub New (options As IOptions(Of CorsOptions))

パラメーター

options
IOptions<CorsOptions>

CorsOptions表すオプション モデル。

属性

適用対象

CorsService(IOptions<CorsOptions>, ILoggerFactory)

ソース:
CorsService.cs
ソース:
CorsService.cs
ソース:
CorsService.cs

CorsService の新しいインスタンスを作成します。

public:
 CorsService(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Cors::Infrastructure::CorsOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public CorsService (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Cors.Infrastructure.CorsService : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Cors.Infrastructure.CorsService
Public Sub New (options As IOptions(Of CorsOptions), loggerFactory As ILoggerFactory)

パラメーター

options
IOptions<CorsOptions>

CorsOptions表すオプション モデル。

loggerFactory
ILoggerFactory

ILoggerFactory

適用対象