VirtualFileResultExecutor 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
托管环境