public KBArticle(string id, bool archived, string title, KBBook book, KBFolder folder, string documentId, DateTime created, DateTime updated, string alias, CPrincipal?createdBy = null, CPrincipal?updatedBy = null) { Id = id; IsArchived = archived; Title = title; Book = book; Folder = folder; DocumentId = documentId; Created = created; CreatedBy = createdBy; Updated = updated; UpdatedBy = updatedBy; Alias = alias; }
public KBArticle(string id, bool archived, string title, KBBook book, KBFolder folder, PublicationItem item, DateTime created, string alias, CPrincipal?createdBy = null, DateTime?updated = null, CPrincipal?updatedBy = null) { Id = id; IsArchived = archived; Title = title; Book = book; Folder = folder; Item = item; Created = created; CreatedBy = createdBy; Updated = updated; UpdatedBy = updatedBy; Alias = alias; }
public KBFolder(string id, bool archived, string name, List <KBFolder> subfolders, List <KBArticle> articles, KBBook book, string alias, DateTime created, DateTime updated, KBFolder?parent = null, KBArticle?cover = null, CPrincipal?createdBy = null, CPrincipal?updatedBy = null) { Id = id; IsArchived = archived; Name = name; Parent = parent; Subfolders = subfolders; Articles = articles; Book = book; Cover = cover; Alias = alias; Created = created; CreatedBy = createdBy; Updated = updated; UpdatedBy = updatedBy; }
public KbDocumentContainerInfo(KBBook book, KBArticle article) { Book = book; Article = article; }