C# 클래스 Xml.Net.Serializers.ObjectSerializer

파일 보기 프로젝트 열기: hughbe/xml.net

공개 메소드들

메소드 설명
Deserialize ( Type type, System.Xml.Linq.XElement parentElement, XmlConvertOptions options ) : object

Deserializes the XElement to the object of a specified type using options.

DeserializeObject ( Type type, System.Xml.Linq.XElement element, XmlConvertOptions options ) : object

Deserializes the XElement to the specified .NET type using options.

Serialize ( object value, string name, XmlConvertOptions options ) : System.Xml.Linq.XElement

Serializes the specified object to a XElement using options.

Serialize ( object value, string name, string elementNames, string keyNames, string valueNames, XmlConvertOptions options ) : System.Xml.Linq.XElement

Serializes the specified property into a XElement using options.

비공개 메소드들

메소드 설명
DeserializeProperty ( PropertyInfo property, object parentObject, System.Xml.Linq.XElement parentElement, XmlConvertOptions options ) : void

Deserializes the XElement to the specified property using options.

Serialize ( PropertyInfo property, object parentObject, XmlConvertOptions options ) : System.Xml.Linq.XElement

Serializes the specified property into a XElement using options.

메소드 상세

Deserialize() 공개 정적인 메소드

Deserializes the XElement to the object of a specified type using options.
public static Deserialize ( Type type, System.Xml.Linq.XElement parentElement, XmlConvertOptions options ) : object
type System.Type The type of the object to deserialize.
parentElement System.Xml.Linq.XElement The parent XElement used to deserialize the object.
options XmlConvertOptions Indicates how the output is deserialized.
리턴 object

DeserializeObject() 공개 정적인 메소드

Deserializes the XElement to the specified .NET type using options.
public static DeserializeObject ( Type type, System.Xml.Linq.XElement element, XmlConvertOptions options ) : object
type System.Type The type of the deserialized .NET object.
element System.Xml.Linq.XElement The XElement to deserialize.
options XmlConvertOptions Indicates how the output is deserialized.
리턴 object

Serialize() 공개 정적인 메소드

Serializes the specified object to a XElement using options.
public static Serialize ( object value, string name, XmlConvertOptions options ) : System.Xml.Linq.XElement
value object The object to serialize.
name string The name of the object to serialize.
options XmlConvertOptions Indicates how the output is formatted or serialized.
리턴 System.Xml.Linq.XElement

Serialize() 공개 정적인 메소드

Serializes the specified property into a XElement using options.
public static Serialize ( object value, string name, string elementNames, string keyNames, string valueNames, XmlConvertOptions options ) : System.Xml.Linq.XElement
value object The object to serialize.
name string The name of the object to serialize.
elementNames string The optional custom name of collection elements.
keyNames string The optional custom name of dictionary key elements.
valueNames string The optional custom name of dictionary value elements.
options XmlConvertOptions Indicates how the output is formatted or serialized.
리턴 System.Xml.Linq.XElement