KnownRouteValueConstraint 构造函数

定义

重载

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)

参数

适用于