PageResultExecutor 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
PageResultExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, IRazorViewEngine, IRazorPageActivator, DiagnosticListener, HtmlEncoder)
- Source:
- PageResultExecutor.cs
创建一个新的 PageResultExecutor。
public:
PageResultExecutor(Microsoft::AspNetCore::Mvc::Infrastructure::IHttpResponseStreamWriterFactory ^ writerFactory, Microsoft::AspNetCore::Mvc::ViewEngines::ICompositeViewEngine ^ compositeViewEngine, Microsoft::AspNetCore::Mvc::Razor::IRazorViewEngine ^ razorViewEngine, Microsoft::AspNetCore::Mvc::Razor::IRazorPageActivator ^ razorPageActivator, System::Diagnostics::DiagnosticListener ^ diagnosticListener, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder);
public PageResultExecutor (Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine compositeViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine razorViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator razorPageActivator, System.Diagnostics.DiagnosticListener diagnosticListener, System.Text.Encodings.Web.HtmlEncoder htmlEncoder);
new Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory * Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine * Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine * Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator * System.Diagnostics.DiagnosticListener * System.Text.Encodings.Web.HtmlEncoder -> Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageResultExecutor
Public Sub New (writerFactory As IHttpResponseStreamWriterFactory, compositeViewEngine As ICompositeViewEngine, razorViewEngine As IRazorViewEngine, razorPageActivator As IRazorPageActivator, diagnosticListener As DiagnosticListener, htmlEncoder As HtmlEncoder)
参数
- compositeViewEngine
- ICompositeViewEngine
- razorViewEngine
- IRazorViewEngine
- razorPageActivator
- IRazorPageActivator
- diagnosticListener
- DiagnosticListener
- htmlEncoder
- HtmlEncoder
适用于
PageResultExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, IRazorViewEngine, IRazorPageActivator, DiagnosticSource, HtmlEncoder)
- Source:
- PageResultExecutor.cs
- Source:
- PageResultExecutor.cs
创建一个新的 PageResultExecutor。
public:
PageResultExecutor(Microsoft::AspNetCore::Mvc::Infrastructure::IHttpResponseStreamWriterFactory ^ writerFactory, Microsoft::AspNetCore::Mvc::ViewEngines::ICompositeViewEngine ^ compositeViewEngine, Microsoft::AspNetCore::Mvc::Razor::IRazorViewEngine ^ razorViewEngine, Microsoft::AspNetCore::Mvc::Razor::IRazorPageActivator ^ razorPageActivator, System::Diagnostics::DiagnosticSource ^ diagnosticSource, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder);
public PageResultExecutor (Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine compositeViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine razorViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator razorPageActivator, System.Diagnostics.DiagnosticSource diagnosticSource, System.Text.Encodings.Web.HtmlEncoder htmlEncoder);
new Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory * Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine * Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine * Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator * System.Diagnostics.DiagnosticSource * System.Text.Encodings.Web.HtmlEncoder -> Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageResultExecutor
Public Sub New (writerFactory As IHttpResponseStreamWriterFactory, compositeViewEngine As ICompositeViewEngine, razorViewEngine As IRazorViewEngine, razorPageActivator As IRazorPageActivator, diagnosticSource As DiagnosticSource, htmlEncoder As HtmlEncoder)
参数
- compositeViewEngine
- ICompositeViewEngine
- razorViewEngine
- IRazorViewEngine
- razorPageActivator
- IRazorPageActivator
- diagnosticSource
- DiagnosticSource
- htmlEncoder
- HtmlEncoder
适用于
PageResultExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, IRazorViewEngine, IRazorPageActivator, DiagnosticSource, HtmlEncoder)
创建一个新的 PageResultExecutor。
public:
PageResultExecutor(Microsoft::AspNetCore::Mvc::Internal::IHttpResponseStreamWriterFactory ^ writerFactory, Microsoft::AspNetCore::Mvc::ViewEngines::ICompositeViewEngine ^ compositeViewEngine, Microsoft::AspNetCore::Mvc::Razor::IRazorViewEngine ^ razorViewEngine, Microsoft::AspNetCore::Mvc::Razor::IRazorPageActivator ^ razorPageActivator, System::Diagnostics::DiagnosticSource ^ diagnosticSource, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder);
public PageResultExecutor (Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine compositeViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine razorViewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator razorPageActivator, System.Diagnostics.DiagnosticSource diagnosticSource, System.Text.Encodings.Web.HtmlEncoder htmlEncoder);
new Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageResultExecutor : Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory * Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine * Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine * Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator * System.Diagnostics.DiagnosticSource * System.Text.Encodings.Web.HtmlEncoder -> Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageResultExecutor
Public Sub New (writerFactory As IHttpResponseStreamWriterFactory, compositeViewEngine As ICompositeViewEngine, razorViewEngine As IRazorViewEngine, razorPageActivator As IRazorPageActivator, diagnosticSource As DiagnosticSource, htmlEncoder As HtmlEncoder)
参数
- writerFactory
- Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory
Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory
- compositeViewEngine
- ICompositeViewEngine
- razorViewEngine
- IRazorViewEngine
- razorPageActivator
- IRazorPageActivator
- diagnosticSource
- DiagnosticSource
- htmlEncoder
- HtmlEncoder