ActionConstraintContext Class

Summary

Context for [Microsoft.AspNet.Mvc.IActionConstraint](Microsoft.AspNet.Mvc.IActionConstraint.yml) execution.

Syntax

public class ActionConstraintContext

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ActionConstraintContext

Properties

Candidates()

The list of [Microsoft.AspNet.Mvc.ActionSelectorCandidate](Microsoft.AspNet.Mvc.ActionSelectorCandidate.yml). This includes all actions that are valid for the current request, as well as their constraints.

Return type:System.Collections.Generic.IReadOnlyList{Microsoft.AspNet.Mvc.ActionSelectorCandidate}
public IReadOnlyList<ActionSelectorCandidate> Candidates { get; set; }
CurrentCandidate()

The current [Microsoft.AspNet.Mvc.ActionSelectorCandidate](Microsoft.AspNet.Mvc.ActionSelectorCandidate.yml).

Return type:Microsoft.AspNet.Mvc.ActionSelectorCandidate
public ActionSelectorCandidate CurrentCandidate { get; set; }
RouteContext()

The [Microsoft.AspNet.Mvc.ActionConstraintContext.RouteContext](Microsoft.AspNet.Mvc.ActionConstraintContext.yml).

Return type:RouteContext
public RouteContext RouteContext { get; set; }