C# Class System.Xml.Linq.Extensions

显示文件 Open project: smartmobili/CocoaBuilder

Public Methods

Method Description
AttributeValueOrDefault ( this xElement, string attrName, string defaultValue ) : string
GetProperty ( this xElement ) : object
IsProperty ( this xElement ) : bool

Method Details

AttributeValueOrDefault() public static method

public static AttributeValueOrDefault ( this xElement, string attrName, string defaultValue ) : string
xElement this
attrName string
defaultValue string
return string

GetProperty() public static method

public static GetProperty ( this xElement ) : object
xElement this
return object

IsProperty() public static method

public static IsProperty ( this xElement ) : bool
xElement this
return bool