KnownRouteValueConstraint 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
KnownRouteValueConstraint() |
已过时.
|
KnownRouteValueConstraint(IActionDescriptorCollectionProvider) |
初始化 KnownRouteValueConstraint 的实例。 |
KnownRouteValueConstraint()
- Source:
- KnownRouteValueConstraint.cs
- Source:
- KnownRouteValueConstraint.cs
注意
This constructor is obsolete. Use KnownRouteValueConstraint.ctor(IActionDescriptorCollectionProvider) instead.
public:
KnownRouteValueConstraint();
public KnownRouteValueConstraint ();
[System.Obsolete("This constructor is obsolete. Use KnownRouteValueConstraint.ctor(IActionDescriptorCollectionProvider) instead.")]
public KnownRouteValueConstraint ();
Public Sub New ()
- 属性
适用于
KnownRouteValueConstraint(IActionDescriptorCollectionProvider)
- Source:
- KnownRouteValueConstraint.cs
- Source:
- KnownRouteValueConstraint.cs
初始化 KnownRouteValueConstraint 的实例。
public:
KnownRouteValueConstraint(Microsoft::AspNetCore::Mvc::Infrastructure::IActionDescriptorCollectionProvider ^ actionDescriptorCollectionProvider);
public KnownRouteValueConstraint (Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider actionDescriptorCollectionProvider);
new Microsoft.AspNetCore.Mvc.Routing.KnownRouteValueConstraint : Microsoft.AspNetCore.Mvc.Infrastructure.IActionDescriptorCollectionProvider -> Microsoft.AspNetCore.Mvc.Routing.KnownRouteValueConstraint
Public Sub New (actionDescriptorCollectionProvider As IActionDescriptorCollectionProvider)
参数
- actionDescriptorCollectionProvider
- IActionDescriptorCollectionProvider