XElementExtensions.GetAttributeAsBoolean method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Xml.Extensions |
---|---|
Assembly | Skybrud.Essentials.dll |
GetAttributeAsBoolean<T>(XElement, string, Func<T, TResult>)
Extension method
public static T GetAttributeAsBoolean<T>(this XElement element, string expression, Func<T, TResult> callback)
Type Parameters
T
Returns
T
GetAttributeAsBoolean(XElement, string, IXmlNamespaceResolver)
Extension method
public static bool GetAttributeAsBoolean(this XElement element, string expression, IXmlNamespaceResolver resolver)
Returns
GetAttributeAsBoolean(XElement, string, IXmlNamespaceResolver, out bool)
Extension method
public static bool GetAttributeAsBoolean(this XElement element, string expression, IXmlNamespaceResolver resolver, bool value)
Returns
GetAttributeAsBoolean<T>(XElement, string, IXmlNamespaceResolver, Func<T, TResult>)
Extension method
public static T GetAttributeAsBoolean<T>(this XElement element, string expression, IXmlNamespaceResolver resolver, Func<T, TResult> callback)
Type Parameters
T
Returns
T
GetAttributeAsBoolean(XElement, XName)
Extension method
public static bool GetAttributeAsBoolean(this XElement element, XName name)
Returns
GetAttributeAsBoolean(XElement, XName, out bool)
Extension method
public static bool GetAttributeAsBoolean(this XElement element, XName name, bool value)
Returns
GetAttributeAsBoolean<T>(XElement, XName, Func<T, TResult>)
Extension method
public static T GetAttributeAsBoolean<T>(this XElement element, XName name, Func<T, TResult> callback)
Type Parameters
T
Returns
T