Type LinkItemExtensions
Namespace Geta.EPi.Extensions
Public static methods
ContentReference ToContentReference(this LinkItem source)
Returns ContentReference for provided LinkItem if it is EPiServer page otherwise returns EmptyReference.
Parameters
-
LinkItem
source - Source LinkItem for which to return content reference.
Returns
-
ContentReference
- Returns ContentReference for provided LinkItem if it is EPiServer page otherwise returns EmptyReference.