共用方式為


KnownRouteValueConstraint 建構函式

定義

多載

KnownRouteValueConstraint()
已淘汰.
KnownRouteValueConstraint(IActionDescriptorCollectionProvider)

初始化 KnownRouteValueConstraint 的執行個體。

KnownRouteValueConstraint()

來源:
KnownRouteValueConstraint.cs
來源:
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)

來源:
KnownRouteValueConstraint.cs
來源:
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)

參數

適用於