Condividi tramite


RazorPageAdapter Costruttori

Definizione

Overload

RazorPageAdapter(RazorPageBase)
Obsoleti.
RazorPageAdapter(RazorPageBase, Type)

Crea una nuova istanza della classe RazorPageAdapter.

RazorPageAdapter(RazorPageBase)

Origine:
RazorPageAdapter.cs
Origine:
RazorPageAdapter.cs

Attenzione

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)

Parametri

Attributi

Si applica a

RazorPageAdapter(RazorPageBase, Type)

Origine:
RazorPageAdapter.cs
Origine:
RazorPageAdapter.cs

Crea una nuova istanza della classe 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)

Parametri

modelType
Type

Tipo di modello.

Si applica a