Dela via


AttributeRouteModel Constructors

Definition

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 templateProvider.

AttributeRouteModel()

Source:
AttributeRouteModel.cs
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
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

Applies to

AttributeRouteModel(IRouteTemplateProvider)

Source:
AttributeRouteModel.cs
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

Applies to