PageRouteModel Constructors

Definition

Overloads

PageRouteModel(PageRouteModel)

A copy constructor for PageRouteModel.

PageRouteModel(String, String)

Initializes a new instance of PageRouteModel.

PageRouteModel(String, String, String)

Initializes a new instance of PageRouteModel.

PageRouteModel(PageRouteModel)

Source:
PageRouteModel.cs
Source:
PageRouteModel.cs

A copy constructor for PageRouteModel.

public:
 PageRouteModel(Microsoft::AspNetCore::Mvc::ApplicationModels::PageRouteModel ^ other);
public PageRouteModel (Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel other);
new Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel : Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel
Public Sub New (other As PageRouteModel)

Parameters

other
PageRouteModel

The PageRouteModel to copy from.

Applies to

PageRouteModel(String, String)

Source:
PageRouteModel.cs
Source:
PageRouteModel.cs

Initializes a new instance of PageRouteModel.

public:
 PageRouteModel(System::String ^ relativePath, System::String ^ viewEnginePath);
public PageRouteModel (string relativePath, string viewEnginePath);
new Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel : string * string -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel
Public Sub New (relativePath As String, viewEnginePath As String)

Parameters

relativePath
String

The application relative path of the page.

viewEnginePath
String

The path relative to the base path for page discovery.

Applies to

PageRouteModel(String, String, String)

Source:
PageRouteModel.cs
Source:
PageRouteModel.cs

Initializes a new instance of PageRouteModel.

public:
 PageRouteModel(System::String ^ relativePath, System::String ^ viewEnginePath, System::String ^ areaName);
public PageRouteModel (string relativePath, string viewEnginePath, string areaName);
public PageRouteModel (string relativePath, string viewEnginePath, string? areaName);
new Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel : string * string * string -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageRouteModel
Public Sub New (relativePath As String, viewEnginePath As String, areaName As String)

Parameters

relativePath
String

The application relative path of the page.

viewEnginePath
String

The path relative to the base path for page discovery.

areaName
String

The area name.

Applies to