KnownRouteValueConstraint 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
KnownRouteValueConstraint() |
已淘汰.
|
KnownRouteValueConstraint(IActionDescriptorCollectionProvider) |
初始化 KnownRouteValueConstraint 的執行個體。 |
KnownRouteValueConstraint()
警告
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)
初始化 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