Condividi tramite


RazorView Costruttori

Definizione

Overload

RazorView(IRazorViewEngine, IRazorPageActivator, IReadOnlyList<IRazorPage>, IRazorPage, HtmlEncoder)

Inizializza una nuova istanza di RazorView

RazorView(IRazorViewEngine, IRazorPageActivator, IReadOnlyList<IRazorPage>, IRazorPage, HtmlEncoder, DiagnosticListener)

Inizializza una nuova istanza di RazorView

RazorView(IRazorViewEngine, IRazorPageActivator, IReadOnlyList<IRazorPage>, IRazorPage, HtmlEncoder, DiagnosticSource)

Inizializza una nuova istanza di RazorView

RazorView(IRazorViewEngine, IRazorPageActivator, IReadOnlyList<IRazorPage>, IRazorPage, HtmlEncoder)

Inizializza una nuova istanza di RazorView

public:
 RazorView(Microsoft::AspNetCore::Mvc::Razor::IRazorViewEngine ^ viewEngine, Microsoft::AspNetCore::Mvc::Razor::IRazorPageActivator ^ pageActivator, System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Mvc::Razor::IRazorPage ^> ^ viewStartPages, Microsoft::AspNetCore::Mvc::Razor::IRazorPage ^ razorPage, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder);
public RazorView (Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine viewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator pageActivator, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Razor.IRazorPage> viewStartPages, Microsoft.AspNetCore.Mvc.Razor.IRazorPage razorPage, System.Text.Encodings.Web.HtmlEncoder htmlEncoder);
new Microsoft.AspNetCore.Mvc.Razor.RazorView : Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine * Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator * System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Razor.IRazorPage> * Microsoft.AspNetCore.Mvc.Razor.IRazorPage * System.Text.Encodings.Web.HtmlEncoder -> Microsoft.AspNetCore.Mvc.Razor.RazorView
Public Sub New (viewEngine As IRazorViewEngine, pageActivator As IRazorPageActivator, viewStartPages As IReadOnlyList(Of IRazorPage), razorPage As IRazorPage, htmlEncoder As HtmlEncoder)

Parametri

viewEngine
IRazorViewEngine

Oggetto IRazorViewEngine utilizzato per individuare le pagine di layout.

pageActivator
IRazorPageActivator

Oggetto IRazorPageActivator utilizzato per attivare le pagine.

viewStartPages
IReadOnlyList<IRazorPage>

Sequenza di IRazorPage istanze eseguite come _ViewStarts.

razorPage
IRazorPage

IRazorPage Istanza da eseguire.

htmlEncoder
HtmlEncoder

Codificatore HTML.

Si applica a

RazorView(IRazorViewEngine, IRazorPageActivator, IReadOnlyList<IRazorPage>, IRazorPage, HtmlEncoder, DiagnosticListener)

Origine:
RazorView.cs

Inizializza una nuova istanza di RazorView

public:
 RazorView(Microsoft::AspNetCore::Mvc::Razor::IRazorViewEngine ^ viewEngine, Microsoft::AspNetCore::Mvc::Razor::IRazorPageActivator ^ pageActivator, System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Mvc::Razor::IRazorPage ^> ^ viewStartPages, Microsoft::AspNetCore::Mvc::Razor::IRazorPage ^ razorPage, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, System::Diagnostics::DiagnosticListener ^ diagnosticListener);
public RazorView (Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine viewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator pageActivator, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Razor.IRazorPage> viewStartPages, Microsoft.AspNetCore.Mvc.Razor.IRazorPage razorPage, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, System.Diagnostics.DiagnosticListener diagnosticListener);
new Microsoft.AspNetCore.Mvc.Razor.RazorView : Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine * Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator * System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Razor.IRazorPage> * Microsoft.AspNetCore.Mvc.Razor.IRazorPage * System.Text.Encodings.Web.HtmlEncoder * System.Diagnostics.DiagnosticListener -> Microsoft.AspNetCore.Mvc.Razor.RazorView
Public Sub New (viewEngine As IRazorViewEngine, pageActivator As IRazorPageActivator, viewStartPages As IReadOnlyList(Of IRazorPage), razorPage As IRazorPage, htmlEncoder As HtmlEncoder, diagnosticListener As DiagnosticListener)

Parametri

viewEngine
IRazorViewEngine

Oggetto IRazorViewEngine utilizzato per individuare le pagine di layout.

pageActivator
IRazorPageActivator

Oggetto IRazorPageActivator utilizzato per attivare le pagine.

viewStartPages
IReadOnlyList<IRazorPage>

Sequenza di IRazorPage istanze eseguite come _ViewStarts.

razorPage
IRazorPage

IRazorPage Istanza da eseguire.

htmlEncoder
HtmlEncoder

Codificatore HTML.

diagnosticListener
DiagnosticListener

Oggetto DiagnosticListener.

Si applica a

RazorView(IRazorViewEngine, IRazorPageActivator, IReadOnlyList<IRazorPage>, IRazorPage, HtmlEncoder, DiagnosticSource)

Origine:
RazorView.cs
Origine:
RazorView.cs

Inizializza una nuova istanza di RazorView

public:
 RazorView(Microsoft::AspNetCore::Mvc::Razor::IRazorViewEngine ^ viewEngine, Microsoft::AspNetCore::Mvc::Razor::IRazorPageActivator ^ pageActivator, System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Mvc::Razor::IRazorPage ^> ^ viewStartPages, Microsoft::AspNetCore::Mvc::Razor::IRazorPage ^ razorPage, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, System::Diagnostics::DiagnosticSource ^ diagnosticSource);
public RazorView (Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine viewEngine, Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator pageActivator, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Razor.IRazorPage> viewStartPages, Microsoft.AspNetCore.Mvc.Razor.IRazorPage razorPage, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, System.Diagnostics.DiagnosticSource diagnosticSource);
new Microsoft.AspNetCore.Mvc.Razor.RazorView : Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine * Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator * System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Razor.IRazorPage> * Microsoft.AspNetCore.Mvc.Razor.IRazorPage * System.Text.Encodings.Web.HtmlEncoder * System.Diagnostics.DiagnosticSource -> Microsoft.AspNetCore.Mvc.Razor.RazorView
Public Sub New (viewEngine As IRazorViewEngine, pageActivator As IRazorPageActivator, viewStartPages As IReadOnlyList(Of IRazorPage), razorPage As IRazorPage, htmlEncoder As HtmlEncoder, diagnosticSource As DiagnosticSource)

Parametri

viewEngine
IRazorViewEngine

Oggetto IRazorViewEngine utilizzato per individuare le pagine di layout.

pageActivator
IRazorPageActivator

Oggetto IRazorPageActivator utilizzato per attivare le pagine.

viewStartPages
IReadOnlyList<IRazorPage>

Sequenza di IRazorPage istanze eseguite come _ViewStarts.

razorPage
IRazorPage

IRazorPage Istanza da eseguire.

htmlEncoder
HtmlEncoder

Codificatore HTML.

diagnosticSource
DiagnosticSource

Oggetto DiagnosticSource.

Si applica a