public static IEnumerable <string> GetFeedActivitiesXPath(IDocumentTypeAliasProvider aliasProvider) { return(new[] { aliasProvider.GetHomePage(), aliasProvider.GetGroupOverviewPage(), aliasProvider.GetGroupRoomPage() }); }
public bool IsGroupPage(int contentId) { var page = _nodeModelService.Get(contentId); return(page.ContentTypeAlias.Equals(_documentTypeAliasProvider.GetGroupRoomPage())); }
protected bool IsGroupPage(int contentId) { var page = _umbracoHelper.TypedContent(contentId); return(page.DocumentTypeAlias.Equals(_documentTypeAliasProvider.GetGroupRoomPage())); }
public IPublishedContent GetGroupRoomPage() => _documentTypeAliasProvider.GetGroupRoomPage() .Pipe(OverviewXPath.Append) .Pipe(GetContent);