示例#1
0
 /// <summary>
 /// Get the parent categories
 /// </summary>
 /// <param name="entryContent">The entry content</param>
 /// <returns>Collection of category content references</returns>
 public static IEnumerable <ContentReference> GetParentCategories(this EntryContentBase entryContent)
 {
     return(entryContent.GetParentCategories(_relationRepository.Service));
 }