Skip to content

WebsiteParserList

jasniec edited this page Nov 1, 2019 · 1 revision

WebsiteParserList was created to extract list of parts described in another class. Property have to be an generic IEnumerable<T> where T is sub-class. Sub-class have to be decorated in ListSelectorAttribute

Optional properties:

  • string Selector - css selector to the part wich will be the root node of sub-class parsing process
  • bool SkipIfNotFound - if (described above) selector won't find an element, the exception won't be thrown and parsing process will go to the next property

If none of sub-class properties won't have start attribute, the instance of the class will be created and any of the fields won't be filled