Compartilhar via


RazorPageAdapter Construtores

Definição

Sobrecargas

RazorPageAdapter(RazorPageBase)
Obsoleto.
RazorPageAdapter(RazorPageBase, Type)

Cria uma instância de RazorPageAdapter.

RazorPageAdapter(RazorPageBase)

Origem:
RazorPageAdapter.cs
Origem:
RazorPageAdapter.cs

Cuidado

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)

Parâmetros

Atributos

Aplica-se a

RazorPageAdapter(RazorPageBase, Type)

Origem:
RazorPageAdapter.cs
Origem:
RazorPageAdapter.cs

Cria uma instância de 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)

Parâmetros

modelType
Type

O tipo de modelo.

Aplica-se a