ActionConstraintItem Class¶
Summary¶
Represents an [Microsoft.AspNet.Mvc.IActionConstraintMetadata](Microsoft.AspNet.Mvc.IActionConstraintMetadata.yml) with or without a corresponding [Microsoft.AspNet.Mvc.IActionConstraint](Microsoft.AspNet.Mvc.IActionConstraint.yml).
Constructors¶
-
ActionConstraintItem
(Microsoft.AspNet.Mvc.IActionConstraintMetadata)¶ Creates a new [Microsoft.AspNet.Mvc.ActionConstraints.ActionConstraintItem](Microsoft.AspNet.Mvc.ActionConstraints.ActionConstraintItem.yml).
Arguments: - metadata (Microsoft.AspNet.Mvc.IActionConstraintMetadata) – The [Microsoft.AspNet.Mvc.IActionConstraintMetadata](Microsoft.AspNet.Mvc.IActionConstraintMetadata.yml) instance.
public ActionConstraintItem(IActionConstraintMetadata metadata)
-
Properties¶
-
Constraint
()¶ The [Microsoft.AspNet.Mvc.IActionConstraint](Microsoft.AspNet.Mvc.IActionConstraint.yml) associated with [Microsoft.AspNet.Mvc.ActionConstraints.ActionConstraintItem.Metadata](Microsoft.AspNet.Mvc.ActionConstraints.ActionConstraintItem.yml).
Return type: Microsoft.AspNet.Mvc.IActionConstraint public IActionConstraint Constraint { get; set; }
-
Metadata
()¶ The [Microsoft.AspNet.Mvc.IActionConstraintMetadata](Microsoft.AspNet.Mvc.IActionConstraintMetadata.yml) instance.
Return type: Microsoft.AspNet.Mvc.IActionConstraintMetadata public IActionConstraintMetadata Metadata { get; }
-