public PageAttachmentDocument(DumpedDocument doc) { string[] fields = doc.Name.Split('|'); id = doc.ID; name = doc.Name; title = doc.Title; dateTime = doc.DateTime; provider = fields[0]; page = Pages.FindPage(fields[1]); }