다음을 통해 공유


HttpContextFactory 생성자

정의

오버로드

HttpContextFactory(IOptions<FormOptions>)

전달된 옵션을 사용하여 HttpContext 클래스의 새 instance 초기화합니다.

HttpContextFactory(ObjectPoolProvider, IOptions<FormOptions>)
HttpContextFactory(IOptions<FormOptions>, IHttpContextAccessor)

전달된 옵션을 사용하여 DefaultHttpContext 클래스의 새 instance 초기화합니다.

HttpContextFactory(IOptions<FormOptions>, IServiceScopeFactory)

전달된 옵션을 사용하여 DefaultHttpContext 클래스의 새 instance 초기화합니다.

HttpContextFactory(ObjectPoolProvider, IOptions<FormOptions>, IHttpContextAccessor)
HttpContextFactory(IOptions<FormOptions>, IServiceScopeFactory, IHttpContextAccessor)

전달된 옵션을 사용하여 DefaultHttpContext 클래스의 새 instance 초기화합니다.

HttpContextFactory(IOptions<FormOptions>)

Source:
HttpContextFactory.cs
Source:
HttpContextFactory.cs

전달된 옵션을 사용하여 HttpContext 클래스의 새 instance 초기화합니다.

public:
 HttpContextFactory(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Http::Features::FormOptions ^> ^ formOptions);
public HttpContextFactory (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Features.FormOptions> formOptions);
new Microsoft.AspNetCore.Http.HttpContextFactory : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Features.FormOptions> -> Microsoft.AspNetCore.Http.HttpContextFactory
Public Sub New (formOptions As IOptions(Of FormOptions))

매개 변수

formOptions
IOptions<FormOptions>

HTTP 컨텍스트 개체를 인스턴스화할 때 설정하는 옵션입니다.

적용 대상

HttpContextFactory(ObjectPoolProvider, IOptions<FormOptions>)

public:
 HttpContextFactory(Microsoft::Extensions::ObjectPool::ObjectPoolProvider ^ poolProvider, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Http::Features::FormOptions ^> ^ formOptions);
public HttpContextFactory (Microsoft.Extensions.ObjectPool.ObjectPoolProvider poolProvider, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Features.FormOptions> formOptions);
new Microsoft.AspNetCore.Http.HttpContextFactory : Microsoft.Extensions.ObjectPool.ObjectPoolProvider * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Features.FormOptions> -> Microsoft.AspNetCore.Http.HttpContextFactory
Public Sub New (poolProvider As ObjectPoolProvider, formOptions As IOptions(Of FormOptions))

매개 변수

poolProvider
ObjectPoolProvider
formOptions
IOptions<FormOptions>

적용 대상

HttpContextFactory(IOptions<FormOptions>, IHttpContextAccessor)

Source:
HttpContextFactory.cs
Source:
HttpContextFactory.cs

전달된 옵션을 사용하여 DefaultHttpContext 클래스의 새 instance 초기화합니다.

public:
 HttpContextFactory(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Http::Features::FormOptions ^> ^ formOptions, Microsoft::AspNetCore::Http::IHttpContextAccessor ^ httpContextAccessor);
public HttpContextFactory (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Features.FormOptions> formOptions, Microsoft.AspNetCore.Http.IHttpContextAccessor httpContextAccessor);
public HttpContextFactory (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Features.FormOptions> formOptions, Microsoft.AspNetCore.Http.IHttpContextAccessor? httpContextAccessor);
new Microsoft.AspNetCore.Http.HttpContextFactory : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Features.FormOptions> * Microsoft.AspNetCore.Http.IHttpContextAccessor -> Microsoft.AspNetCore.Http.HttpContextFactory
Public Sub New (formOptions As IOptions(Of FormOptions), httpContextAccessor As IHttpContextAccessor)

매개 변수

formOptions
IOptions<FormOptions>

HTTP 컨텍스트 개체를 인스턴스화할 때 설정하는 옵션입니다.

httpContextAccessor
IHttpContextAccessor

HTTP 컨텍스트 instance 액세스하는 데 사용할 개체입니다.

적용 대상

HttpContextFactory(IOptions<FormOptions>, IServiceScopeFactory)

전달된 옵션을 사용하여 DefaultHttpContext 클래스의 새 instance 초기화합니다.

public:
 HttpContextFactory(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Http::Features::FormOptions ^> ^ formOptions, Microsoft::Extensions::DependencyInjection::IServiceScopeFactory ^ serviceScopeFactory);
public HttpContextFactory (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Features.FormOptions> formOptions, Microsoft.Extensions.DependencyInjection.IServiceScopeFactory serviceScopeFactory);
new Microsoft.AspNetCore.Http.HttpContextFactory : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Features.FormOptions> * Microsoft.Extensions.DependencyInjection.IServiceScopeFactory -> Microsoft.AspNetCore.Http.HttpContextFactory
Public Sub New (formOptions As IOptions(Of FormOptions), serviceScopeFactory As IServiceScopeFactory)

매개 변수

formOptions
IOptions<FormOptions>

HTTP 컨텍스트 개체를 인스턴스화할 때 설정하는 옵션입니다.

serviceScopeFactory
IServiceScopeFactory

HTTP 컨텍스트에 대한 서비스 scope 만드는 데 사용되는 팩터리 개체입니다.

적용 대상

HttpContextFactory(ObjectPoolProvider, IOptions<FormOptions>, IHttpContextAccessor)

public:
 HttpContextFactory(Microsoft::Extensions::ObjectPool::ObjectPoolProvider ^ poolProvider, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Http::Features::FormOptions ^> ^ formOptions, Microsoft::AspNetCore::Http::IHttpContextAccessor ^ httpContextAccessor);
public HttpContextFactory (Microsoft.Extensions.ObjectPool.ObjectPoolProvider poolProvider, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Features.FormOptions> formOptions, Microsoft.AspNetCore.Http.IHttpContextAccessor httpContextAccessor);
new Microsoft.AspNetCore.Http.HttpContextFactory : Microsoft.Extensions.ObjectPool.ObjectPoolProvider * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Features.FormOptions> * Microsoft.AspNetCore.Http.IHttpContextAccessor -> Microsoft.AspNetCore.Http.HttpContextFactory
Public Sub New (poolProvider As ObjectPoolProvider, formOptions As IOptions(Of FormOptions), httpContextAccessor As IHttpContextAccessor)

매개 변수

poolProvider
ObjectPoolProvider
formOptions
IOptions<FormOptions>
httpContextAccessor
IHttpContextAccessor

적용 대상

HttpContextFactory(IOptions<FormOptions>, IServiceScopeFactory, IHttpContextAccessor)

전달된 옵션을 사용하여 DefaultHttpContext 클래스의 새 instance 초기화합니다.

public:
 HttpContextFactory(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Http::Features::FormOptions ^> ^ formOptions, Microsoft::Extensions::DependencyInjection::IServiceScopeFactory ^ serviceScopeFactory, Microsoft::AspNetCore::Http::IHttpContextAccessor ^ httpContextAccessor);
public HttpContextFactory (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Features.FormOptions> formOptions, Microsoft.Extensions.DependencyInjection.IServiceScopeFactory serviceScopeFactory, Microsoft.AspNetCore.Http.IHttpContextAccessor httpContextAccessor);
public HttpContextFactory (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Features.FormOptions> formOptions, Microsoft.Extensions.DependencyInjection.IServiceScopeFactory serviceScopeFactory, Microsoft.AspNetCore.Http.IHttpContextAccessor? httpContextAccessor);
new Microsoft.AspNetCore.Http.HttpContextFactory : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Features.FormOptions> * Microsoft.Extensions.DependencyInjection.IServiceScopeFactory * Microsoft.AspNetCore.Http.IHttpContextAccessor -> Microsoft.AspNetCore.Http.HttpContextFactory
Public Sub New (formOptions As IOptions(Of FormOptions), serviceScopeFactory As IServiceScopeFactory, httpContextAccessor As IHttpContextAccessor)

매개 변수

formOptions
IOptions<FormOptions>

HTTP 컨텍스트 개체를 인스턴스화할 때 설정하는 옵션입니다.

serviceScopeFactory
IServiceScopeFactory

HTTP 컨텍스트에 대한 서비스 scope 만드는 데 사용되는 팩터리 개체입니다.

httpContextAccessor
IHttpContextAccessor

기본 HTTP 컨텍스트 개체를 인스턴스화할 때 설정하는 옵션입니다.

적용 대상