共用方式為


FileContentResultExecutor(ILoggerFactory) 建構函式

定義

初始化新的 FileContentResultExecutor

public:
 FileContentResultExecutor(Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public FileContentResultExecutor (Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.Infrastructure.FileContentResultExecutor : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.Infrastructure.FileContentResultExecutor
Public Sub New (loggerFactory As ILoggerFactory)

參數

loggerFactory
ILoggerFactory

用來建立記錄器的 Factory。

適用於