AttributeRouteModel 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AttributeRouteModel() |
初始化 Microsoft.AspNetCore.Mvc.Routing.AttributeRoute 的新实例。 |
AttributeRouteModel(AttributeRouteModel) |
的 Microsoft.AspNetCore.Mvc.Routing.AttributeRoute复制构造函数。 |
AttributeRouteModel(IRouteTemplateProvider) |
使用指定的 |
AttributeRouteModel()
- Source:
- AttributeRouteModel.cs
- Source:
- AttributeRouteModel.cs
- Source:
- AttributeRouteModel.cs
初始化 Microsoft.AspNetCore.Mvc.Routing.AttributeRoute 的新实例。
public:
AttributeRouteModel();
public AttributeRouteModel ();
Public Sub New ()
适用于
AttributeRouteModel(AttributeRouteModel)
- Source:
- AttributeRouteModel.cs
- Source:
- AttributeRouteModel.cs
- Source:
- AttributeRouteModel.cs
的 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)
参数
- other
- AttributeRouteModel
要复制的 AttributeRouteModel。
适用于
AttributeRouteModel(IRouteTemplateProvider)
- Source:
- AttributeRouteModel.cs
- Source:
- AttributeRouteModel.cs
- Source:
- AttributeRouteModel.cs
使用指定的 templateProvider
初始化 的新实例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)
参数
- templateProvider
- IRouteTemplateProvider