UrlHelper.Breadcrumbs Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Returns the breadcrumb segments for en entity.

public static List<Breadcrumb> Breadcrumbs(this IEntity entity, bool space = false, bool self = false)

Parameters

entity
IEntity

The entity for which to get breadcrumbs.

space
bool

true to include space as first breadcrumb.

self
bool

true to include entity as last breadcrumb.

Returns

System.Collections.Generic.List