共用方式為


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

資料流程寫入器處理站。

適用於