This commit is contained in:
Łukasz Domeradzki
2025-02-23 19:56:23 +01:00
parent fd2c1e8c24
commit 9753b36769

View File

@@ -213,7 +213,7 @@ public static class Utilities {
return document.Body.SelectNodes(xpath).OfType<T>(); return document.Body.SelectNodes(xpath).OfType<T>();
} }
[Obsolete($"Use {nameof(Element.QuerySelectorAll)} instead, we're removing our AngleSharp.XPath dependency and helpers in the future ASF version")] [Obsolete($"Use {nameof(element.QuerySelectorAll)} instead, we're removing our AngleSharp.XPath dependency and helpers in the future ASF version")]
[PublicAPI] [PublicAPI]
public static IEnumerable<T> SelectNodes<T>(this IElement element, string xpath) where T : class, INode { public static IEnumerable<T> SelectNodes<T>(this IElement element, string xpath) where T : class, INode {
ArgumentNullException.ThrowIfNull(element); ArgumentNullException.ThrowIfNull(element);