Пример #1
0
 protected internal override void OnDocNodeUpdate()
 {
     // Don't call base, as we need to get param description from param tag
     // base.OnDocNodeUpdate();
     if (DocNode != null)
     {
         var selectedNode = DocNode.SelectSingleNode("param[@name='" + Name + "']");
         if (selectedNode != null)
         {
             Description = selectedNode.InnerXml.Trim();
         }
     }
 }
Пример #2
0
 public override IEnumerable <string> RunParser()
 {
     GalleryName = DocNode.SelectSingleNode(GALLERY_TITLE).InnerHtml;
     Logger.SafeWriteLine($"Extract gallery name '{GalleryName}'");
     return(new string[] { GalleryName }.Concat(GetFileUris()).ToArray());
 }