Html Agility Pack (HAP) is a free and open-source HTML parser written in C# to read/write DOM and supports plain XPATH or XSLT. It is a .NET code library that allows you to parse "out of the web" HTML files.
When checking for docfx performance, I noticed that a lot of enumerator allocations were done inside of HtmlAgilityPack. This PR adds public struct enumerator access which won't need to box against interface, foreach loops will start to use this one.
When checking for docfx performance, I noticed that a lot of enumerator allocations were done inside of HtmlAgilityPack. This PR adds public struct enumerator access which won't need to box against interface, foreach loops will start to use this one.