C# 클래스 MSTestAllureAdapter.XElementExtensions

Convenience methods for XElement
파일 보기 프로젝트 열기: allure-framework/allure-mstest-adapter

공개 메소드들

메소드 설명
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