public static CategoryMembersSelect Parse(XElement element)
 {
     var result = new CategoryMembersSelect();
     var pageId = element.Attribute("pageid");
     if (pageId != null)
         result.PageId = (long)pageId;
     var title = element.Attribute("title");
     if (title != null)
         result.Title = (string)title;
     var sortKey = element.Attribute("sortkey");
     if (sortKey != null)
         result.SortKey = (string)sortKey;
     return result;
 }
Beispiel #2
0
        public static CategoryMembersSelect Parse(XElement element)
        {
            var result = new CategoryMembersSelect();
            var pageId = element.Attribute("pageid");

            if (pageId != null)
            {
                result.PageId = (long)pageId;
            }
            var title = element.Attribute("title");

            if (title != null)
            {
                result.Title = (string)title;
            }
            var sortKey = element.Attribute("sortkey");

            if (sortKey != null)
            {
                result.SortKey = (string)sortKey;
            }
            return(result);
        }