Bagikan melalui


AttributeRouteModel Konstruktor

Definisi

Overload

AttributeRouteModel()

Menginisialisasi instans Microsoft.AspNetCore.Mvc.Routing.AttributeRoutebaru .

AttributeRouteModel(AttributeRouteModel)

Salin konstruktor untuk Microsoft.AspNetCore.Mvc.Routing.AttributeRoute.

AttributeRouteModel(IRouteTemplateProvider)

Menginisialisasi instans baru menggunakan Microsoft.AspNetCore.Mvc.Routing.AttributeRoutetemplateProvider.

AttributeRouteModel()

Sumber:
AttributeRouteModel.cs
Sumber:
AttributeRouteModel.cs
Sumber:
AttributeRouteModel.cs

Menginisialisasi instans Microsoft.AspNetCore.Mvc.Routing.AttributeRoutebaru .

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

Berlaku untuk

AttributeRouteModel(AttributeRouteModel)

Sumber:
AttributeRouteModel.cs
Sumber:
AttributeRouteModel.cs
Sumber:
AttributeRouteModel.cs

Salin konstruktor untuk 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

yang akan disalin AttributeRouteModel .

Berlaku untuk

AttributeRouteModel(IRouteTemplateProvider)

Sumber:
AttributeRouteModel.cs
Sumber:
AttributeRouteModel.cs
Sumber:
AttributeRouteModel.cs

Menginisialisasi instans baru menggunakan Microsoft.AspNetCore.Mvc.Routing.AttributeRoutetemplateProvider.

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

Berlaku untuk