ActionMethodSelectorAttribute.Accept(ActionConstraintContext) Method

Definition

Determines whether an action is a valid candidate for selection.

C#
public bool Accept (Microsoft.AspNetCore.Mvc.ActionConstraints.ActionConstraintContext context);

Parameters

Returns

True if the action is valid for selection, otherwise false.

Implements

Applies to

Produkt Versiounen
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0