Méthode | Description | |
---|---|---|
IsSimpleType ( this type ) : bool |
Determines whether [is simple type] [the specified type].
|
|
ToXml ( object obj, bool includetype = false ) : System.Xml.Linq.XElement |
Converts an anonymous type to an XElement.
|
|
ToXml ( object obj, string element, bool includetype = false ) : System.Xml.Linq.XElement |
Converts an anonymous type to an XElement.
|
Méthode | Description | |
---|---|---|
CreateWithType ( System.Xml.Linq.XElement el, PropertyInfo prop ) : System.Xml.Linq.XElement |
Adds a Type attribute an element.
|
|
GetArrayElement ( PropertyInfo info, Array input, bool includetype ) : System.Xml.Linq.XElement |
Gets the array element.
|
public static IsSimpleType ( this type ) : bool | ||
type | this | The type to check. |
Résultat | bool |
public static ToXml ( object obj, bool includetype = false ) : System.Xml.Linq.XElement | ||
obj | object | |
includetype | bool | |
Résultat | System.Xml.Linq.XElement |
public static ToXml ( object obj, string element, bool includetype = false ) : System.Xml.Linq.XElement | ||
obj | object | The input. |
element | string | The element name. |
includetype | bool | |
Résultat | System.Xml.Linq.XElement |