ActionConstraintItem(IActionConstraintMetadata) 构造函数

定义

创建一个新的 ActionConstraintItem

public:
 ActionConstraintItem(Microsoft::AspNetCore::Mvc::ActionConstraints::IActionConstraintMetadata ^ metadata);
public ActionConstraintItem (Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata metadata);
new Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem : Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata -> Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem
Public Sub New (metadata As IActionConstraintMetadata)

参数

适用于