Udostępnij za pośrednictwem


RazorView Konstruktory

Definicja

Przeciążenia

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

Inicjuje nowe wystąpienie klasy RazorView

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

Inicjuje nowe wystąpienie klasy RazorView

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

Inicjuje nowe wystąpienie klasy RazorView

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

Inicjuje nowe wystąpienie klasy 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)

Parametry

viewEngine
IRazorViewEngine

Element IRazorViewEngine używany do lokalizowania stron układu.

pageActivator
IRazorPageActivator

Element IRazorPageActivator używany do aktywowania stron.

viewStartPages
IReadOnlyList<IRazorPage>

Sekwencja IRazorPage wystąpień wykonywana jako _ViewStarts.

razorPage
IRazorPage

Wystąpienie IRazorPage do wykonania.

htmlEncoder
HtmlEncoder

Koder HTML.

Dotyczy

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

Źródło:
RazorView.cs

Inicjuje nowe wystąpienie klasy 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)

Parametry

viewEngine
IRazorViewEngine

Element IRazorViewEngine używany do lokalizowania stron układu.

pageActivator
IRazorPageActivator

Element IRazorPageActivator używany do aktywowania stron.

viewStartPages
IReadOnlyList<IRazorPage>

Sekwencja IRazorPage wystąpień wykonywana jako _ViewStarts.

razorPage
IRazorPage

Wystąpienie IRazorPage do wykonania.

htmlEncoder
HtmlEncoder

Koder HTML.

diagnosticListener
DiagnosticListener

Element DiagnosticListener.

Dotyczy

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

Źródło:
RazorView.cs
Źródło:
RazorView.cs

Inicjuje nowe wystąpienie klasy 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)

Parametry

viewEngine
IRazorViewEngine

Element IRazorViewEngine używany do lokalizowania stron układu.

pageActivator
IRazorPageActivator

Element IRazorPageActivator używany do aktywowania stron.

viewStartPages
IReadOnlyList<IRazorPage>

Sekwencja IRazorPage wystąpień wykonywana jako _ViewStarts.

razorPage
IRazorPage

Wystąpienie IRazorPage do wykonania.

htmlEncoder
HtmlEncoder

Koder HTML.

diagnosticSource
DiagnosticSource

Element DiagnosticSource.

Dotyczy