C# 클래스 Ninject.Extensions.Xml.Extensions.ExtensionsForXElement

Extension methods for XElement
파일 보기 프로젝트 열기: ninject/Ninject.Extensions.Xml

공개 메소드들

메소드 설명
RequiredAttribute ( this element, System.Xml.Linq.XName name ) : System.Xml.Linq.XAttribute

Gets a required attribute from an XElement.

메소드 상세

RequiredAttribute() 공개 정적인 메소드

Gets a required attribute from an XElement.
A required attribute is missing.
public static RequiredAttribute ( this element, System.Xml.Linq.XName name ) : System.Xml.Linq.XAttribute
element this The element.
name System.Xml.Linq.XName The name of the attribute.
리턴 System.Xml.Linq.XAttribute