Partager via


AttributeRouteModel Constructeurs

Définition

Surcharges

AttributeRouteModel()

Initialise une nouvelle instance de Microsoft.AspNetCore.Mvc.Routing.AttributeRoute.

AttributeRouteModel(AttributeRouteModel)

Copiez le constructeur pour Microsoft.AspNetCore.Mvc.Routing.AttributeRoute.

AttributeRouteModel(IRouteTemplateProvider)

Initialise une nouvelle instance de l’utilisation du Microsoft.AspNetCore.Mvc.Routing.AttributeRoute spécifiétemplateProvider.

AttributeRouteModel()

Source:
AttributeRouteModel.cs
Source:
AttributeRouteModel.cs
Source:
AttributeRouteModel.cs

Initialise une nouvelle instance de Microsoft.AspNetCore.Mvc.Routing.AttributeRoute.

public:
 AttributeRouteModel();
public AttributeRouteModel ();
Public Sub New ()

S’applique à

AttributeRouteModel(AttributeRouteModel)

Source:
AttributeRouteModel.cs
Source:
AttributeRouteModel.cs
Source:
AttributeRouteModel.cs

Copiez le constructeur pour 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)

Paramètres

S’applique à

AttributeRouteModel(IRouteTemplateProvider)

Source:
AttributeRouteModel.cs
Source:
AttributeRouteModel.cs
Source:
AttributeRouteModel.cs

Initialise une nouvelle instance de l’utilisation du Microsoft.AspNetCore.Mvc.Routing.AttributeRoute spécifié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)

Paramètres

templateProvider
IRouteTemplateProvider

L’IRouteTemplateProvideropérateur

S’applique à