RazorPageAdapter Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
RazorPageAdapter(RazorPageBase) |
Obsoletos.
|
RazorPageAdapter(RazorPageBase, Type) |
Crea una nueva instancia de RazorPageAdapter. |
RazorPageAdapter(RazorPageBase)
- Source:
- RazorPageAdapter.cs
- Source:
- RazorPageAdapter.cs
Precaució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)
Parámetros
- page
- RazorPageBase
- Atributos
Se aplica a
RazorPageAdapter(RazorPageBase, Type)
- Source:
- RazorPageAdapter.cs
- Source:
- RazorPageAdapter.cs
Crea una nueva instancia 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
- page
- RazorPageBase
- modelType
- Type
Tipo de modelo.