UrlHelperExtensions.IsActive Method

Namespace:
Weavy.Web.Extensions
Assembly:
Weavy.Web.dll

IsActive(UrlHelper, Expression>, LinkActive)

public static bool IsActive<TController>(this UrlHelper helper, Expression<Action<TController>> expression, LinkActive active = LinkActive.None)

    where TController : Controller

Parameters

helper
System.Web.Mvc.UrlHelper
expression
System.Linq.Expressions.Expression>>
active
LinkActive

Returns

bool