Share via


DirectRouteFactoryContext.TargetIsAction Property

Definition

Gets a value indicating whether the route is configured at the action or controller level.

public bool TargetIsAction { get; }
member this.TargetIsAction : bool
Public ReadOnly Property TargetIsAction As Boolean

Property Value

true when the route is configured at the action level; otherwise false if the route is configured at the controller level.

Applies to