VirtualFileResultExecutor 构造函数

定义

重载

VirtualFileResultExecutor(ILoggerFactory, IHostingEnvironment)
VirtualFileResultExecutor(ILoggerFactory, IWebHostEnvironment)

初始化 VirtualFileResultExecutor 的新实例。

VirtualFileResultExecutor(ILoggerFactory, IHostingEnvironment)

Source:
VirtualFileResultExecutor.cs
Source:
VirtualFileResultExecutor.cs
public:
 VirtualFileResultExecutor(Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ hostingEnvironment);
public VirtualFileResultExecutor (Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment);
new Microsoft.AspNetCore.Mvc.Infrastructure.VirtualFileResultExecutor : Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.AspNetCore.Hosting.IHostingEnvironment -> Microsoft.AspNetCore.Mvc.Infrastructure.VirtualFileResultExecutor
Public Sub New (loggerFactory As ILoggerFactory, hostingEnvironment As IHostingEnvironment)

参数

loggerFactory
ILoggerFactory
hostingEnvironment
IHostingEnvironment

适用于

VirtualFileResultExecutor(ILoggerFactory, IWebHostEnvironment)

Source:
VirtualFileResultExecutor.cs

初始化 VirtualFileResultExecutor 的新实例。

public:
 VirtualFileResultExecutor(Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::AspNetCore::Hosting::IWebHostEnvironment ^ hostingEnvironment);
public VirtualFileResultExecutor (Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnvironment);
new Microsoft.AspNetCore.Mvc.Infrastructure.VirtualFileResultExecutor : Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.AspNetCore.Hosting.IWebHostEnvironment -> Microsoft.AspNetCore.Mvc.Infrastructure.VirtualFileResultExecutor
Public Sub New (loggerFactory As ILoggerFactory, hostingEnvironment As IWebHostEnvironment)

参数

loggerFactory
ILoggerFactory

用于创建记录器的工厂。

hostingEnvironment
IWebHostEnvironment

托管环境

适用于