다음을 통해 공유


CorsService 생성자

정의

오버로드

CorsService(IOptions<CorsOptions>)
사용되지 않음.

CorsService의 새 인스턴스를 만듭니다.

CorsService(IOptions<CorsOptions>, ILoggerFactory)

CorsService의 새 인스턴스를 만듭니다.

CorsService(IOptions<CorsOptions>)

Source:
CorsService.cs
Source:
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)

Source:
CorsService.cs
Source:
CorsService.cs
Source:
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.

적용 대상