Overload | Description |
Attribute<T>(XName,T,T,Func<T,String>) | This generic method produces an XAttribute with the given value if the value is not equal to the given default value, using the given conversion function to convert the value to a string. |
Attribute(XName,String,String) | Generate an XAttribute for a String value, unless the value is equal to the given default value. |
Attribute(XName,Boolean,Boolean) | Generate an XAttribute for a Boolean value, unless the value is equal to the given default value. |
Attribute(XName,Int32,Int32) | Generate an XAttribute for an Int32 value, unless the value is equal to the given default value. |
Attribute(XName,Guid,Guid) | Generate an XAttribute for a Guid value, unless the value is equal to the given default value. |
Attribute(XName,Double,Double) | Generate an XAttribute for a Double value, unless the value is equal to the given default value. |
Attribute(XName,Point,Point) | Generate an XAttribute for a Point value, unless the value is equal to the given default value. |
Attribute(XName,Size,Size) | Generate an XAttribute for a Size value, unless the value is equal to the given default value. |
Attribute(XName,Rect,Rect) | Generate an XAttribute for a Rect value, unless the value is equal to the given default value. |
Attribute(XName,Thickness,Thickness) | Generate an XAttribute for a Thickness value, unless the value is equal to the given default value. |
Attribute(XName,DateTime,DateTime) | Generate an XAttribute for a DateTime value, unless the value is equal to the given default value. |
Attribute(XName,TimeSpan,TimeSpan) | Generate an XAttribute for a TimeSpan value, unless the value is equal to the given default value. |
Attribute(XName,Decimal,Decimal) | Generate an XAttribute for a Decimal value, unless the value is equal to the given default value. |
Attribute(XName,IEnumerable<Int32>,IEnumerable<Int32>) | Generate an XAttribute for a sequence of Int32 values, unless the value is equal to the given default value. |
Attribute(XName,IEnumerable<Double>,IEnumerable<Double>) | Generate an XAttribute for a sequence of Double values, unless the value is equal to the given default value. |
Attribute(XName,IEnumerable<Point>,IEnumerable<Point>) | Generate an XAttribute for a sequence of Point values, unless the value is equal to the given default value. |