Sdílet prostřednictvím


ContentResultExecutor Konstruktor

Definice

Inicializuje novou instanci .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)

Parametry

logger
ILogger<ContentResultExecutor>

Protokolovací nástroj, který se má použít.

httpResponseStreamWriterFactory
IHttpResponseStreamWriterFactory

Objekt pro zápis datových proudů.

Platí pro