ActionConstraintItem Class¶
Represents an Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata with or without a corresponding
Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint.
- Namespace
Microsoft.AspNetCore.Mvc.ActionConstraints- Assemblies
- Microsoft.AspNetCore.Mvc.Abstractions
Syntax¶
public class ActionConstraintItem
-
class
Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem
Constructors¶
-
ActionConstraintItem(Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata)¶ Creates a new
Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem.Arguments: metadata (Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata) – The Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadatainstance.public ActionConstraintItem(IActionConstraintMetadata metadata)
-
Properties¶
-
Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem.Constraint¶ The
Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintassociated withMicrosoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem.Metadata.Return type: Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint public IActionConstraint Constraint { get; set; }
-
Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem.IsReusable¶ Gets or sets a value indicating whether or not
Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem.Constraintcan be reused across requests.Return type: System.Boolean public bool IsReusable { get; set; }
-
Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintItem.Metadata¶ The
Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadatainstance.Return type: Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraintMetadata public IActionConstraintMetadata Metadata { get; }
-