Files
ArchiSteamFarm/.github/migrations/5.0-to-5.1.md
2021-05-06 18:34:29 +02:00

563 B

ASF V5.0 -> V5.1

Plugins

SelectElementNodes(...), SelectNodes(...)

Previously returned List<IElement>, now returns IEnumerable<IElement>

65dc5def01

Proper solution

Use IEnumerable<IElement> where you've previously used List<IElement>. If you're just enumerating over results, you don't need a full collection, we didn't need it anywhere in ASF code when doing this change.

Alternative solution

Just call .ToList() on the result yourself.