Sdílet prostřednictvím


AttributeRouteModel Konstruktory

Definice

Přetížení

AttributeRouteModel()

Inicializuje novou instanci .Microsoft.AspNetCore.Mvc.Routing.AttributeRoute

AttributeRouteModel(AttributeRouteModel)

Kopírovat konstruktor pro Microsoft.AspNetCore.Mvc.Routing.AttributeRoute.

AttributeRouteModel(IRouteTemplateProvider)

Inicializuje novou instanci objektu pomocí zadaného templateProviderobjektu Microsoft.AspNetCore.Mvc.Routing.AttributeRoute .

AttributeRouteModel()

Zdroj:
AttributeRouteModel.cs
Zdroj:
AttributeRouteModel.cs
Zdroj:
AttributeRouteModel.cs

Inicializuje novou instanci .Microsoft.AspNetCore.Mvc.Routing.AttributeRoute

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

Platí pro

AttributeRouteModel(AttributeRouteModel)

Zdroj:
AttributeRouteModel.cs
Zdroj:
AttributeRouteModel.cs
Zdroj:
AttributeRouteModel.cs

Kopírovat konstruktor pro 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)

Parametry

Platí pro

AttributeRouteModel(IRouteTemplateProvider)

Zdroj:
AttributeRouteModel.cs
Zdroj:
AttributeRouteModel.cs
Zdroj:
AttributeRouteModel.cs

Inicializuje novou instanci objektu pomocí zadaného templateProviderobjektu Microsoft.AspNetCore.Mvc.Routing.AttributeRoute .

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)

Parametry

Platí pro