C# Класс MSTestAllureAdapter.XElementExtensions

Convenience methods for XElement
Показать файл Открыть проект

Открытые методы

Метод Описание
GetSafeAttributeValue ( this element, System.Xml.Linq.XName attributeName ) : string

Gets the attribute value with the given attributeName.

GetSafeAttributeValue ( this element, System.Xml.Linq.XName descendantElement, System.Xml.Linq.XName attributeName ) : string

Gets the attribute value with the given attributeName of the element with the given descendantElement name.

GetSafeValue ( this element, System.Xml.Linq.XName name ) : string

Gets the value of the element with the given name.

Описание методов

GetSafeAttributeValue() публичный статический Метод

Gets the attribute value with the given attributeName.
public static GetSafeAttributeValue ( this element, System.Xml.Linq.XName attributeName ) : string
element this Element.
attributeName System.Xml.Linq.XName Attribute name.
Результат string

GetSafeAttributeValue() публичный статический Метод

Gets the attribute value with the given attributeName of the element with the given descendantElement name.
public static GetSafeAttributeValue ( this element, System.Xml.Linq.XName descendantElement, System.Xml.Linq.XName attributeName ) : string
element this Element.
descendantElement System.Xml.Linq.XName Descendant element.
attributeName System.Xml.Linq.XName Attribute name.
Результат string

GetSafeValue() публичный статический Метод

Gets the value of the element with the given name.
public static GetSafeValue ( this element, System.Xml.Linq.XName name ) : string
element this Element.
name System.Xml.Linq.XName Name.
Результат string