PageResultExecutor 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
PageResultExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, IRazorViewEngine, IRazorPageActivator, DiagnosticListener, HtmlEncoder)
建立新的 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)
參數
- writerFactory
- IHttpResponseStreamWriterFactory
- compositeViewEngine
- ICompositeViewEngine
- razorViewEngine
- IRazorViewEngine
- razorPageActivator
- IRazorPageActivator
- diagnosticListener
- DiagnosticListener
- htmlEncoder
- HtmlEncoder
適用於
PageResultExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, IRazorViewEngine, IRazorPageActivator, DiagnosticSource, HtmlEncoder)
建立新的 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)
參數
- writerFactory
- IHttpResponseStreamWriterFactory
- 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