C# 클래스 XMLConverter, SDK-DotNet

Extension methods for the dynamic object.
파일 보기 프로젝트 열기: Proxomo/SDK-DotNet 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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.

메소드 상세

IsSimpleType() 공개 정적인 메소드

Determines whether [is simple type] [the specified type].
public static IsSimpleType ( this type ) : bool
type this The type to check.
리턴 bool

ToXml() 공개 정적인 메소드

Converts an anonymous type to an XElement.
public static ToXml ( object obj, bool includetype = false ) : System.Xml.Linq.XElement
obj object
includetype bool
리턴 System.Xml.Linq.XElement

ToXml() 공개 정적인 메소드

Converts an anonymous type to an 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
리턴 System.Xml.Linq.XElement