Partager via


ContentResultExecutor Constructeur

Définition

Initialise une nouvelle instance de ContentResultExecutor.

public:
 ContentResultExecutor(Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::Mvc::Infrastructure::ContentResultExecutor ^> ^ logger, Microsoft::AspNetCore::Mvc::Infrastructure::IHttpResponseStreamWriterFactory ^ httpResponseStreamWriterFactory);
public ContentResultExecutor (Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor> logger, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory httpResponseStreamWriterFactory);
new Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor : Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor> * Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory -> Microsoft.AspNetCore.Mvc.Infrastructure.ContentResultExecutor
Public Sub New (logger As ILogger(Of ContentResultExecutor), httpResponseStreamWriterFactory As IHttpResponseStreamWriterFactory)

Paramètres

logger
ILogger<ContentResultExecutor>

Enregistreur d'événements à utiliser.

httpResponseStreamWriterFactory
IHttpResponseStreamWriterFactory

Fabrique de l’enregistreur de flux.

S’applique à