mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-09-20 06:22:13 +00:00
Misc
This commit is contained in:
parent
bcceb0c39c
commit
06bfe01087
1 changed files with 5 additions and 1 deletions
|
@ -196,7 +196,11 @@ public static class Utilities {
|
|||
}
|
||||
|
||||
[PublicAPI]
|
||||
public static IElement? SelectSingleElementNode(this IElement element, string xpath) => (IElement?) element.SelectSingleNode(xpath);
|
||||
public static IElement? SelectSingleElementNode(this IElement element, string xpath) {
|
||||
ArgumentNullException.ThrowIfNull(element);
|
||||
|
||||
return (IElement?) element.SelectSingleNode(xpath);
|
||||
}
|
||||
|
||||
[PublicAPI]
|
||||
public static IElement? SelectSingleNode(this IDocument document, string xpath) {
|
||||
|
|
Loading…
Reference in a new issue