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 KBBook(string id, bool archived, string name, string summary, long updated, string alias, List <KBBookContext> contexts, List <TDLocation> locations, KBFolder rootFolder, List <TDTeam> teams, CPrincipal?updatedBy = null)
 {
     Id         = id;
     IsArchived = archived;
     Name       = name;
     Summary    = summary;
     Updated    = updated;
     UpdatedBy  = updatedBy;
     Alias      = alias;
     Contexts   = contexts;
     Locations  = locations;
     RootFolder = rootFolder;
     Teams      = teams;
 }
Beispiel #3
0
 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;
 }