VirtualFileResultExecutor 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
VirtualFileResultExecutor(ILoggerFactory, IHostingEnvironment) | |
VirtualFileResultExecutor(ILoggerFactory, IWebHostEnvironment) |
初始化 VirtualFileResultExecutor 的新執行個體。 |
VirtualFileResultExecutor(ILoggerFactory, IHostingEnvironment)
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)
初始化 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
用來建立記錄器的 Factory。
- hostingEnvironment
- IWebHostEnvironment
裝載環境