ScrewTurn.Wiki.PageAttachmentDocument.PageAttachmentDocument C# (CSharp) Метод

PageAttachmentDocument() публичный Метод

Initializes a new instance of the T:PageAttachmentDocument class.
public PageAttachmentDocument ( DumpedDocument doc ) : System
doc ScrewTurn.Wiki.SearchEngine.DumpedDocument The dumped document.
Результат System
        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]);
        }

Same methods

PageAttachmentDocument::PageAttachmentDocument ( System.PageInfo page, string name, string provider, System.DateTime dateTime ) : System