Sdílet prostřednictvím


RazorPageAdapter Konstruktory

Definice

Přetížení

RazorPageAdapter(RazorPageBase)
Zastaralé.
RazorPageAdapter(RazorPageBase, Type)

Vytvoří instanci nové instance objektu RazorPageAdapter.

RazorPageAdapter(RazorPageBase)

Zdroj:
RazorPageAdapter.cs
Zdroj:
RazorPageAdapter.cs

Upozornění

This constructor is obsolete and will be removed in a future version.

public:
 RazorPageAdapter(Microsoft::AspNetCore::Mvc::Razor::RazorPageBase ^ page);
public RazorPageAdapter (Microsoft.AspNetCore.Mvc.Razor.RazorPageBase page);
[System.Obsolete("This constructor is obsolete and will be removed in a future version.")]
public RazorPageAdapter (Microsoft.AspNetCore.Mvc.Razor.RazorPageBase page);
new Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAdapter : Microsoft.AspNetCore.Mvc.Razor.RazorPageBase -> Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAdapter
[<System.Obsolete("This constructor is obsolete and will be removed in a future version.")>]
new Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAdapter : Microsoft.AspNetCore.Mvc.Razor.RazorPageBase -> Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAdapter
Public Sub New (page As RazorPageBase)

Parametry

Atributy

Platí pro

RazorPageAdapter(RazorPageBase, Type)

Zdroj:
RazorPageAdapter.cs
Zdroj:
RazorPageAdapter.cs

Vytvoří instanci nové instance objektu RazorPageAdapter.

public:
 RazorPageAdapter(Microsoft::AspNetCore::Mvc::Razor::RazorPageBase ^ page, Type ^ modelType);
public RazorPageAdapter (Microsoft.AspNetCore.Mvc.Razor.RazorPageBase page, Type modelType);
new Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAdapter : Microsoft.AspNetCore.Mvc.Razor.RazorPageBase * Type -> Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.RazorPageAdapter
Public Sub New (page As RazorPageBase, modelType As Type)

Parametry

modelType
Type

Typ modelu.

Platí pro