Partager via


RazorPageAdapter Constructeurs

Définition

Surcharges

RazorPageAdapter(RazorPageBase)
Obsolète.
RazorPageAdapter(RazorPageBase, Type)

Instancie une nouvelle instance de RazorPageAdapter.

RazorPageAdapter(RazorPageBase)

Source:
RazorPageAdapter.cs
Source:
RazorPageAdapter.cs

Attention

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)

Paramètres

Attributs

S’applique à

RazorPageAdapter(RazorPageBase, Type)

Source:
RazorPageAdapter.cs
Source:
RazorPageAdapter.cs

Instancie une nouvelle instance 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)

Paramètres

page
RazorPageBase

L’RazorPageBaseopérateur

modelType
Type

Type de modèle.

S’applique à