Freigeben über


AttributeRouteModel Konstruktoren

Definition

Überlädt

AttributeRouteModel()

Initialisiert eine neue Instanz von Microsoft.AspNetCore.Mvc.Routing.AttributeRoute.

AttributeRouteModel(AttributeRouteModel)

Kopieren Sie den Konstruktor für Microsoft.AspNetCore.Mvc.Routing.AttributeRoute.

AttributeRouteModel(IRouteTemplateProvider)

Initialisiert eine neue instance der Verwendung des Microsoft.AspNetCore.Mvc.Routing.AttributeRoute angegebenen templateProvider.

AttributeRouteModel()

Quelle:
AttributeRouteModel.cs
Quelle:
AttributeRouteModel.cs

Initialisiert eine neue Instanz von Microsoft.AspNetCore.Mvc.Routing.AttributeRoute.

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

Gilt für:

AttributeRouteModel(AttributeRouteModel)

Quelle:
AttributeRouteModel.cs
Quelle:
AttributeRouteModel.cs

Kopieren Sie den Konstruktor für 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)

Parameter

other
AttributeRouteModel

Das AttributeRouteModel, das kopiert werden soll.

Gilt für:

AttributeRouteModel(IRouteTemplateProvider)

Quelle:
AttributeRouteModel.cs
Quelle:
AttributeRouteModel.cs

Initialisiert eine neue instance der Verwendung des Microsoft.AspNetCore.Mvc.Routing.AttributeRoute angegebenen 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)

Parameter

Gilt für: