Поделиться через


ContentResultExecutor Конструктор

Определение

Инициализирует новый экземпляр 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)

Параметры

logger
ILogger<ContentResultExecutor>

Используемое средство ведения журнала.

httpResponseStreamWriterFactory
IHttpResponseStreamWriterFactory

Фабрика модуля записи потоков.

Применяется к