C# 클래스 PredictiveCodeSuggestions.Extensions.XElementExtensions.XElementExtensions

The x element extensions.
파일 보기 프로젝트 열기: JakobChristensen/Resharper.PredictiveCodeSuggestions

공개 메소드들

메소드 설명
GetAttributeDateTime ( [ element, [ attributeName, System.DateTime defaultValue ) : System.DateTime

Gets the attribute date time.

GetAttributeDouble ( [ element, [ attributeName, double defaultValue ) : double

Gets the attribute double.

GetAttributeInt ( [ element, [ attributeName, int defaultValue ) : int

Gets the attribute int.

GetAttributeLong ( [ element, [ attributeName, long defaultValue ) : long

Gets the attribute int.

HasAttribute ( [ element, [ attributeName ) : bool

Determines whether the specified element has attribute.

비공개 메소드들

메소드 설명
Element ( [ element, int index ) : System.Xml.Linq.XElement
GetAttributeValue ( [ element, [ attributeName ) : string
GetAttributeValue ( [ element, [ attributeName, [ defaultValue ) : string
GetElementValue ( [ element, [ elementName ) : string

메소드 상세

GetAttributeDateTime() 공개 정적인 메소드

Gets the attribute date time.
public static GetAttributeDateTime ( [ element, [ attributeName, System.DateTime defaultValue ) : System.DateTime
element [ The element.
attributeName [ Name of the attribute.
defaultValue System.DateTime The default value.
리턴 System.DateTime

GetAttributeDouble() 공개 정적인 메소드

Gets the attribute double.
public static GetAttributeDouble ( [ element, [ attributeName, double defaultValue ) : double
element [ The element.
attributeName [ Name of the attribute.
defaultValue double The default value.
리턴 double

GetAttributeInt() 공개 정적인 메소드

Gets the attribute int.
public static GetAttributeInt ( [ element, [ attributeName, int defaultValue ) : int
element [ The element.
attributeName [ Name of the attribute.
defaultValue int The default value.
리턴 int

GetAttributeLong() 공개 정적인 메소드

Gets the attribute int.
public static GetAttributeLong ( [ element, [ attributeName, long defaultValue ) : long
element [ The element.
attributeName [ Name of the attribute.
defaultValue long The default value.
리턴 long

HasAttribute() 공개 정적인 메소드

Determines whether the specified element has attribute.
public static HasAttribute ( [ element, [ attributeName ) : bool
element [ The element.
attributeName [ Name of the attribute.
리턴 bool