C# 클래스 Amido.SystemEx.Xml.Linq.XElementExtensions

파일 보기 프로젝트 열기: amido/Amido.PreProcessor

공개 메소드들

메소드 설명
ElementExists ( System.Xml.Linq.XContainer element, string elementName ) : bool
SafeGetDecimalFromAttribute ( System.Xml.Linq.XElement element, string attributeName ) : decimal
SafeGetDecimalFromAttribute ( System.Xml.Linq.XElement element, string elementName, string attributeName ) : decimal
SafeGetDecimalFromElement ( System.Xml.Linq.XElement element, string elementName ) : decimal
SafeGetIntFromAttribute ( System.Xml.Linq.XElement element, string attributeName ) : int
SafeGetIntFromAttribute ( System.Xml.Linq.XElement element, string elementName, string attributeName ) : int
SafeGetIntFromElement ( System.Xml.Linq.XElement element, string elementName ) : int
SafeGetStringFromAttribute ( System.Xml.Linq.XElement element, string attributeName ) : string
SafeGetStringFromAttribute ( System.Xml.Linq.XElement element, string elementName, string attributeName ) : string
SafeGetStringFromElement ( System.Xml.Linq.XElement element, string elementName ) : string

비공개 메소드들

메소드 설명
GetAttribute ( System.Xml.Linq.XElement element, string attributeName ) : System.Xml.Linq.XAttribute
GetElement ( System.Xml.Linq.XElement element, string elementName ) : System.Xml.Linq.XElement
XElementExtensions ( ) : System

메소드 상세

ElementExists() 공개 정적인 메소드

public static ElementExists ( System.Xml.Linq.XContainer element, string elementName ) : bool
element System.Xml.Linq.XContainer
elementName string
리턴 bool

SafeGetDecimalFromAttribute() 공개 정적인 메소드

public static SafeGetDecimalFromAttribute ( System.Xml.Linq.XElement element, string attributeName ) : decimal
element System.Xml.Linq.XElement
attributeName string
리턴 decimal

SafeGetDecimalFromAttribute() 공개 정적인 메소드

public static SafeGetDecimalFromAttribute ( System.Xml.Linq.XElement element, string elementName, string attributeName ) : decimal
element System.Xml.Linq.XElement
elementName string
attributeName string
리턴 decimal

SafeGetDecimalFromElement() 공개 정적인 메소드

public static SafeGetDecimalFromElement ( System.Xml.Linq.XElement element, string elementName ) : decimal
element System.Xml.Linq.XElement
elementName string
리턴 decimal

SafeGetIntFromAttribute() 공개 정적인 메소드

public static SafeGetIntFromAttribute ( System.Xml.Linq.XElement element, string attributeName ) : int
element System.Xml.Linq.XElement
attributeName string
리턴 int

SafeGetIntFromAttribute() 공개 정적인 메소드

public static SafeGetIntFromAttribute ( System.Xml.Linq.XElement element, string elementName, string attributeName ) : int
element System.Xml.Linq.XElement
elementName string
attributeName string
리턴 int

SafeGetIntFromElement() 공개 정적인 메소드

public static SafeGetIntFromElement ( System.Xml.Linq.XElement element, string elementName ) : int
element System.Xml.Linq.XElement
elementName string
리턴 int

SafeGetStringFromAttribute() 공개 정적인 메소드

public static SafeGetStringFromAttribute ( System.Xml.Linq.XElement element, string attributeName ) : string
element System.Xml.Linq.XElement
attributeName string
리턴 string

SafeGetStringFromAttribute() 공개 정적인 메소드

public static SafeGetStringFromAttribute ( System.Xml.Linq.XElement element, string elementName, string attributeName ) : string
element System.Xml.Linq.XElement
elementName string
attributeName string
리턴 string

SafeGetStringFromElement() 공개 정적인 메소드

public static SafeGetStringFromElement ( System.Xml.Linq.XElement element, string elementName ) : string
element System.Xml.Linq.XElement
elementName string
리턴 string