C# Class NSoft.NFramework.Xml.XLinqTool

XLinq 관련 Utility Class 입니다.
显示文件 Open project: debop/NFramework

Public Methods

Method Description
GetAttrValue ( this attribute, string defaultValue = "" ) : string

attribute의 Value 값을 반환합니다. 없으면, defaultValue를 반환합니다.

GetElementValue ( this element, string defaultValue = "" ) : string

element의 Value 값을 반환합니다. 없으면, defaultValue를 반환합니다.

Method Details

GetAttrValue() public static method

attribute의 Value 값을 반환합니다. 없으면, defaultValue를 반환합니다.
public static GetAttrValue ( this attribute, string defaultValue = "" ) : string
attribute this
defaultValue string
return string

GetElementValue() public static method

element의 Value 값을 반환합니다. 없으면, defaultValue를 반환합니다.
public static GetElementValue ( this element, string defaultValue = "" ) : string
element this
defaultValue string
return string