RazorPageAdapter Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RazorPageAdapter(RazorPageBase) |
Obsolete.
|
RazorPageAdapter(RazorPageBase, Type) |
Instantiates a new instance of RazorPageAdapter. |
RazorPageAdapter(RazorPageBase)
- Source:
- RazorPageAdapter.cs
- Source:
- RazorPageAdapter.cs
Caution
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)
Parameters
- page
- RazorPageBase
- Attributes
Applies to
RazorPageAdapter(RazorPageBase, Type)
- Source:
- RazorPageAdapter.cs
- Source:
- RazorPageAdapter.cs
Instantiates a new instance of 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)
Parameters
- page
- RazorPageBase
The RazorPageBase.
- modelType
- Type
The model type.