Пример #1
0
        public PageData(
            WikiInfo wiki, XElement element, Dictionary <string, QueryTypeProperties> pageProperties,
            PagingManager pagingManager)
        {
            m_wiki           = wiki;
            m_pageProperties = pageProperties;
            m_pagingManager  = pagingManager;

            GetOrCreateDataList("info").Add(m_pageProperties["info"].Parser(element, wiki));

            var pageIdAttribute = element.Attribute("pageid");

            if (pageIdAttribute != null)
            {
                PageId = ValueParser.ParseInt64(pageIdAttribute.Value);

                AddData(element);
            }
        }