C# 클래스 System.Xml.Serialization.XmlSerializer

파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultNamespace string

Private Properties

프로퍼티 타입 설명
DemandForUserLocationOrEvidence void
DeserializePrimitive object
GenerateTempAssembly TempAssembly
GenerateTempAssembly TempAssembly
GenerateTempAssembly TempAssembly
GetKnownMapping XmlTypeMapping
GetSerializersFromCache System.Xml.Serialization.XmlSerializer[]
GetXmlSerializerContractFromGeneratedAssembly XmlSerializerImplementation
SerializePrimitive void
SetTempAssembly void

공개 메소드들

메소드 설명
CanDeserialize ( System.IO.XmlReader xmlReader ) : bool
Deserialize ( Stream stream ) : object
Deserialize ( TextReader textReader ) : object
Deserialize ( System.IO.XmlReader xmlReader ) : object
Deserialize ( System.IO.XmlReader xmlReader, XmlDeserializationEvents events ) : object
Deserialize ( System.IO.XmlReader xmlReader, string encodingStyle ) : object
Deserialize ( System.IO.XmlReader xmlReader, string encodingStyle, XmlDeserializationEvents events ) : object
FromMappings ( XmlMapping mappings ) : System.Xml.Serialization.XmlSerializer[]
FromMappings ( XmlMapping mappings, Type type ) : System.Xml.Serialization.XmlSerializer[]
FromTypes ( Type types ) : System.Xml.Serialization.XmlSerializer[]
GetXmlSerializerAssemblyName ( Type type ) : string
GetXmlSerializerAssemblyName ( Type type, string defaultNamespace ) : string
Serialize ( Stream stream, object o ) : void
Serialize ( Stream stream, object o, XmlSerializerNamespaces namespaces ) : void
Serialize ( TextWriter textWriter, object o ) : void
Serialize ( TextWriter textWriter, object o, XmlSerializerNamespaces namespaces ) : void
Serialize ( XmlWriter xmlWriter, object o ) : void
Serialize ( XmlWriter xmlWriter, object o, XmlSerializerNamespaces namespaces ) : void
Serialize ( XmlWriter xmlWriter, object o, XmlSerializerNamespaces namespaces, string encodingStyle ) : void
Serialize ( XmlWriter xmlWriter, object o, XmlSerializerNamespaces namespaces, string encodingStyle, string id ) : void
SetXmlSerializerContract ( XmlSerializerImplementation xmlSerializerImplementation ) : void
XmlSerializer ( Type type ) : System.Reflection
XmlSerializer ( Type type, Type extraTypes ) : System.Reflection
XmlSerializer ( Type type, XmlAttributeOverrides overrides ) : System.Reflection
XmlSerializer ( Type type, XmlAttributeOverrides overrides, Type extraTypes, XmlRootAttribute root, string defaultNamespace ) : System.Reflection
XmlSerializer ( Type type, XmlAttributeOverrides overrides, Type extraTypes, XmlRootAttribute root, string defaultNamespace, string location ) : System.Reflection
XmlSerializer ( Type type, XmlRootAttribute root ) : System.Reflection
XmlSerializer ( Type type, string defaultNamespace ) : System.Reflection
XmlSerializer ( XmlTypeMapping xmlTypeMapping ) : System.Reflection

보호된 메소드들

메소드 설명
CreateReader ( ) : XmlSerializationReader
CreateWriter ( ) : XmlSerializationWriter
Deserialize ( XmlSerializationReader reader ) : object
Serialize ( object o, XmlSerializationWriter writer ) : void
XmlSerializer ( ) : System.Reflection

비공개 메소드들

메소드 설명
DemandForUserLocationOrEvidence ( ) : void
DeserializePrimitive ( System.IO.XmlReader xmlReader, XmlDeserializationEvents events ) : object
GenerateTempAssembly ( XmlMapping xmlMapping ) : TempAssembly
GenerateTempAssembly ( XmlMapping xmlMapping, Type type, string defaultNamespace ) : TempAssembly
GenerateTempAssembly ( XmlMapping xmlMapping, Type type, string defaultNamespace, string location ) : TempAssembly
GetKnownMapping ( Type type, string ns ) : XmlTypeMapping
GetSerializersFromCache ( XmlMapping mappings, Type type ) : System.Xml.Serialization.XmlSerializer[]
GetXmlSerializerContractFromGeneratedAssembly ( ) : XmlSerializerImplementation
SerializePrimitive ( XmlWriter xmlWriter, object o, XmlSerializerNamespaces namespaces ) : void
SetTempAssembly ( TempAssembly tempAssembly, XmlMapping mapping ) : void

메소드 상세

CanDeserialize() 공개 메소드

public CanDeserialize ( System.IO.XmlReader xmlReader ) : bool
xmlReader System.IO.XmlReader
리턴 bool

CreateReader() 보호된 메소드

protected CreateReader ( ) : XmlSerializationReader
리턴 XmlSerializationReader

CreateWriter() 보호된 메소드

protected CreateWriter ( ) : XmlSerializationWriter
리턴 XmlSerializationWriter

Deserialize() 공개 메소드

public Deserialize ( Stream stream ) : object
stream Stream
리턴 object

Deserialize() 공개 메소드

public Deserialize ( TextReader textReader ) : object
textReader System.IO.TextReader
리턴 object

Deserialize() 공개 메소드

public Deserialize ( System.IO.XmlReader xmlReader ) : object
xmlReader System.IO.XmlReader
리턴 object

Deserialize() 공개 메소드

public Deserialize ( System.IO.XmlReader xmlReader, XmlDeserializationEvents events ) : object
xmlReader System.IO.XmlReader
events XmlDeserializationEvents
리턴 object

Deserialize() 공개 메소드

public Deserialize ( System.IO.XmlReader xmlReader, string encodingStyle ) : object
xmlReader System.IO.XmlReader
encodingStyle string
리턴 object

Deserialize() 공개 메소드

public Deserialize ( System.IO.XmlReader xmlReader, string encodingStyle, XmlDeserializationEvents events ) : object
xmlReader System.IO.XmlReader
encodingStyle string
events XmlDeserializationEvents
리턴 object

Deserialize() 보호된 메소드

protected Deserialize ( XmlSerializationReader reader ) : object
reader XmlSerializationReader
리턴 object

FromMappings() 공개 정적인 메소드

public static FromMappings ( XmlMapping mappings ) : System.Xml.Serialization.XmlSerializer[]
mappings XmlMapping
리턴 System.Xml.Serialization.XmlSerializer[]

FromMappings() 공개 정적인 메소드

public static FromMappings ( XmlMapping mappings, Type type ) : System.Xml.Serialization.XmlSerializer[]
mappings XmlMapping
type System.Type
리턴 System.Xml.Serialization.XmlSerializer[]

FromTypes() 공개 정적인 메소드

public static FromTypes ( Type types ) : System.Xml.Serialization.XmlSerializer[]
types System.Type
리턴 System.Xml.Serialization.XmlSerializer[]

GetXmlSerializerAssemblyName() 공개 정적인 메소드

public static GetXmlSerializerAssemblyName ( Type type ) : string
type System.Type
리턴 string

GetXmlSerializerAssemblyName() 공개 정적인 메소드

public static GetXmlSerializerAssemblyName ( Type type, string defaultNamespace ) : string
type System.Type
defaultNamespace string
리턴 string

Serialize() 공개 메소드

public Serialize ( Stream stream, object o ) : void
stream Stream
o object
리턴 void

Serialize() 공개 메소드

public Serialize ( Stream stream, object o, XmlSerializerNamespaces namespaces ) : void
stream Stream
o object
namespaces XmlSerializerNamespaces
리턴 void

Serialize() 공개 메소드

public Serialize ( TextWriter textWriter, object o ) : void
textWriter System.IO.TextWriter
o object
리턴 void

Serialize() 공개 메소드

public Serialize ( TextWriter textWriter, object o, XmlSerializerNamespaces namespaces ) : void
textWriter System.IO.TextWriter
o object
namespaces XmlSerializerNamespaces
리턴 void

Serialize() 공개 메소드

public Serialize ( XmlWriter xmlWriter, object o ) : void
xmlWriter XmlWriter
o object
리턴 void

Serialize() 공개 메소드

public Serialize ( XmlWriter xmlWriter, object o, XmlSerializerNamespaces namespaces ) : void
xmlWriter XmlWriter
o object
namespaces XmlSerializerNamespaces
리턴 void

Serialize() 공개 메소드

public Serialize ( XmlWriter xmlWriter, object o, XmlSerializerNamespaces namespaces, string encodingStyle ) : void
xmlWriter XmlWriter
o object
namespaces XmlSerializerNamespaces
encodingStyle string
리턴 void

Serialize() 공개 메소드

public Serialize ( XmlWriter xmlWriter, object o, XmlSerializerNamespaces namespaces, string encodingStyle, string id ) : void
xmlWriter XmlWriter
o object
namespaces XmlSerializerNamespaces
encodingStyle string
id string
리턴 void

Serialize() 보호된 메소드

protected Serialize ( object o, XmlSerializationWriter writer ) : void
o object
writer XmlSerializationWriter
리턴 void

SetXmlSerializerContract() 공개 정적인 메소드

public static SetXmlSerializerContract ( XmlSerializerImplementation xmlSerializerImplementation ) : void
xmlSerializerImplementation XmlSerializerImplementation
리턴 void

XmlSerializer() 보호된 메소드

protected XmlSerializer ( ) : System.Reflection
리턴 System.Reflection

XmlSerializer() 공개 메소드

public XmlSerializer ( Type type ) : System.Reflection
type System.Type
리턴 System.Reflection

XmlSerializer() 공개 메소드

public XmlSerializer ( Type type, Type extraTypes ) : System.Reflection
type System.Type
extraTypes System.Type
리턴 System.Reflection

XmlSerializer() 공개 메소드

public XmlSerializer ( Type type, XmlAttributeOverrides overrides ) : System.Reflection
type System.Type
overrides XmlAttributeOverrides
리턴 System.Reflection

XmlSerializer() 공개 메소드

public XmlSerializer ( Type type, XmlAttributeOverrides overrides, Type extraTypes, XmlRootAttribute root, string defaultNamespace ) : System.Reflection
type System.Type
overrides XmlAttributeOverrides
extraTypes System.Type
root XmlRootAttribute
defaultNamespace string
리턴 System.Reflection

XmlSerializer() 공개 메소드

public XmlSerializer ( Type type, XmlAttributeOverrides overrides, Type extraTypes, XmlRootAttribute root, string defaultNamespace, string location ) : System.Reflection
type System.Type
overrides XmlAttributeOverrides
extraTypes System.Type
root XmlRootAttribute
defaultNamespace string
location string
리턴 System.Reflection

XmlSerializer() 공개 메소드

public XmlSerializer ( Type type, XmlRootAttribute root ) : System.Reflection
type System.Type
root XmlRootAttribute
리턴 System.Reflection

XmlSerializer() 공개 메소드

public XmlSerializer ( Type type, string defaultNamespace ) : System.Reflection
type System.Type
defaultNamespace string
리턴 System.Reflection

XmlSerializer() 공개 메소드

public XmlSerializer ( XmlTypeMapping xmlTypeMapping ) : System.Reflection
xmlTypeMapping XmlTypeMapping
리턴 System.Reflection

프로퍼티 상세

DefaultNamespace 공개적으로 프로퍼티

public string DefaultNamespace
리턴 string