ActionConstraintContext Class¶
Context for Microsoft.AspNetCore.Mvc.ActionConstraints.IActionConstraint
execution.
- Namespace
Microsoft.AspNetCore.Mvc.ActionConstraints
- Assemblies
- Microsoft.AspNetCore.Mvc.Abstractions
Syntax¶
public class ActionConstraintContext
-
class
Microsoft.AspNetCore.Mvc.ActionConstraints.
ActionConstraintContext
Properties¶
-
Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext.
Candidates
¶ The list of
Microsoft.AspNetCore.Mvc.ActionConstraints.ActionSelectorCandidate
. This includes all actions that are valid for the current request, as well as their constraints.Return type: System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ActionConstraints.ActionSelectorCandidate> public IReadOnlyList<ActionSelectorCandidate> Candidates { get; set; }
-
Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext.
CurrentCandidate
¶ The current
Microsoft.AspNetCore.Mvc.ActionConstraints.ActionSelectorCandidate
.Return type: Microsoft.AspNetCore.Mvc.ActionConstraints.ActionSelectorCandidate public ActionSelectorCandidate CurrentCandidate { get; set; }
-
Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext.
RouteContext
¶ The
Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext.RouteContext
.Return type: Microsoft.AspNetCore.Routing.RouteContext public RouteContext RouteContext { get; set; }
-