HttpContextFactory Constructeurs

Définition

Surcharges

HttpContextFactory(IOptions<FormOptions>)

Initialise une nouvelle instance de la classe HttpContext avec des options passées.

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

Initialise une nouvelle instance de la classe DefaultHttpContext avec les options passées.

HttpContextFactory(IOptions<FormOptions>, IServiceScopeFactory)

Initialise une nouvelle instance de la classe DefaultHttpContext avec les options passées.

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

Initialise une nouvelle instance de la classe DefaultHttpContext avec les options passées.

HttpContextFactory(IOptions<FormOptions>)

Source:
HttpContextFactory.cs
Source:
HttpContextFactory.cs

Initialise une nouvelle instance de la classe HttpContext avec des options passées.

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))

Paramètres

formOptions
IOptions<FormOptions>

Options à définir lors de l’instanciation de l’objet de contexte HTTP.

S’applique à

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))

Paramètres

poolProvider
ObjectPoolProvider
formOptions
IOptions<FormOptions>

S’applique à

HttpContextFactory(IOptions<FormOptions>, IHttpContextAccessor)

Source:
HttpContextFactory.cs
Source:
HttpContextFactory.cs

Initialise une nouvelle instance de la classe DefaultHttpContext avec les options passées.

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)

Paramètres

formOptions
IOptions<FormOptions>

Options à définir lors de l’instanciation de l’objet de contexte HTTP.

httpContextAccessor
IHttpContextAccessor

Objet à utiliser pour accéder au contexte HTTP instance.

S’applique à

HttpContextFactory(IOptions<FormOptions>, IServiceScopeFactory)

Initialise une nouvelle instance de la classe DefaultHttpContext avec les options passées.

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)

Paramètres

formOptions
IOptions<FormOptions>

Options à définir lors de l’instanciation de l’objet de contexte HTTP.

serviceScopeFactory
IServiceScopeFactory

Objet factory utilisé pour créer l’étendue de service pour le contexte HTTP.

S’applique à

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)

Paramètres

poolProvider
ObjectPoolProvider
formOptions
IOptions<FormOptions>
httpContextAccessor
IHttpContextAccessor

S’applique à

HttpContextFactory(IOptions<FormOptions>, IServiceScopeFactory, IHttpContextAccessor)

Initialise une nouvelle instance de la classe DefaultHttpContext avec les options passées.

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)

Paramètres

formOptions
IOptions<FormOptions>

Options à définir lors de l’instanciation de l’objet de contexte HTTP.

serviceScopeFactory
IServiceScopeFactory

Objet factory utilisé pour créer l’étendue de service pour le contexte HTTP.

httpContextAccessor
IHttpContextAccessor

Options à définir lors de l’instanciation de l’objet de contexte HTTP par défaut.

S’applique à