public IList<object> ExtractList(WebPage page) { this.Listeners.Clear(); ListExtractListener listener = new ListExtractListener(); this.AddListener(listener); this.Extract(page); return listener.List; }
/// <summary> /// Extract from the web page and return the results as a list. /// </summary> /// <param name="page">The web page to extract from.</param> /// <returns>The results of the extraction as a List.</returns> public IList<Object> ExtractList(WebPage page) { Listeners.Clear(); var listener = new ListExtractListener(); AddListener(listener); Extract(page); return listener.List; }
/// <summary> /// Extract from the web page and return the results as a list. /// </summary> /// <param name="page">The web page to extract from.</param> /// <returns>The results of the extraction as a List.</returns> public IList <Object> ExtractList(WebPage page) { Listeners.Clear(); var listener = new ListExtractListener(); AddListener(listener); Extract(page); return(listener.List); }