public static ICategoryEntrySymbol CreateEntry( ISymbol containingSymbol, CategoryEntryNode item, DiagnosticBag diagnostics) { return(new CategoryEntrySymbol(containingSymbol, item, diagnostics)); }
public static CategoryLinkNode CategoryLink(CategoryEntryNode categoryEntry, string id = null) { return(CategoryLink( id: id ?? NewId(), name: categoryEntry.Name, publicationId: categoryEntry.PublicationId, page: categoryEntry.Page, hidden: false, targetId: categoryEntry.Id, primary: false)); }
public static CategoryNode Category(CategoryEntryNode categoryEntry, string id = null) { return(Category( id: id ?? NewId(), categoryEntry.Name, categoryEntry.Id, entryGroupId: null, categoryEntry.PublicationId, categoryEntry.Page, primary: false)); }