AttributeRouteModel 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
AttributeRouteModel() |
Initializes a new instance of Microsoft.AspNetCore.Mvc.Routing.AttributeRoute. |
AttributeRouteModel(AttributeRouteModel) |
Copy constructor for Microsoft.AspNetCore.Mvc.Routing.AttributeRoute. |
AttributeRouteModel(IRouteTemplateProvider) |
Initializes a new instance of Microsoft.AspNetCore.Mvc.Routing.AttributeRoute using the specified |
AttributeRouteModel()
- Source:
- AttributeRouteModel.cs
- Source:
- AttributeRouteModel.cs
Initializes a new instance of Microsoft.AspNetCore.Mvc.Routing.AttributeRoute.
public:
AttributeRouteModel();
public AttributeRouteModel ();
Public Sub New ()
Applies to
AttributeRouteModel(AttributeRouteModel)
- Source:
- AttributeRouteModel.cs
- Source:
- AttributeRouteModel.cs
Copy constructor for Microsoft.AspNetCore.Mvc.Routing.AttributeRoute.
public:
AttributeRouteModel(Microsoft::AspNetCore::Mvc::ApplicationModels::AttributeRouteModel ^ other);
public AttributeRouteModel (Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel other);
new Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel : Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel -> Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel
Public Sub New (other As AttributeRouteModel)
Parameters
- other
- AttributeRouteModel
The AttributeRouteModel to copy.
Applies to
AttributeRouteModel(IRouteTemplateProvider)
- Source:
- AttributeRouteModel.cs
- Source:
- AttributeRouteModel.cs
Initializes a new instance of Microsoft.AspNetCore.Mvc.Routing.AttributeRoute using the specified templateProvider
.
public:
AttributeRouteModel(Microsoft::AspNetCore::Mvc::Routing::IRouteTemplateProvider ^ templateProvider);
public AttributeRouteModel (Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider templateProvider);
new Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel : Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider -> Microsoft.AspNetCore.Mvc.ApplicationModels.AttributeRouteModel
Public Sub New (templateProvider As IRouteTemplateProvider)
Parameters
- templateProvider
- IRouteTemplateProvider
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for