C# 클래스 Thinktecture.ServiceModel.Description.InheritableDataContractSerializer

상속: System.Runtime.Serialization.XmlObjectSerializer
파일 보기 프로젝트 열기: ChristianWeyer/Thinktecture.ServiceModel

공개 메소드들

메소드 설명
InheritableDataContractSerializer ( Type type ) : System

Initializes a new instance of the InheritableDataContractSerializer class.

InheritableDataContractSerializer ( Type type, IEnumerable knownTypes ) : System

Initializes a new instance of the InheritableDataContractSerializer class.

InheritableDataContractSerializer ( Type type, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, bool preserveObjectReferences, IDataContractSurrogate dataContractSurrogate ) : System

Initializes a new instance of the InheritableDataContractSerializer class.

InheritableDataContractSerializer ( Type type, XmlDictionaryString rootName, XmlDictionaryString rootNamespace ) : System

Initializes a new instance of the InheritableDataContractSerializer class.

InheritableDataContractSerializer ( Type type, XmlDictionaryString rootName, XmlDictionaryString rootNamespace, IEnumerable knownTypes ) : System

Initializes a new instance of the InheritableDataContractSerializer class.

InheritableDataContractSerializer ( Type type, XmlDictionaryString rootName, XmlDictionaryString rootNamespace, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, bool preserveObjectReferences, IDataContractSurrogate dataContractSurrogate ) : System

Initializes a new instance of the InheritableDataContractSerializer class.

InheritableDataContractSerializer ( Type type, string rootName, string rootNamespace ) : System

Initializes a new instance of the InheritableDataContractSerializer class.

InheritableDataContractSerializer ( Type type, string rootName, string rootNamespace, IEnumerable knownTypes ) : System

Initializes a new instance of the InheritableDataContractSerializer class.

InheritableDataContractSerializer ( Type type, string rootName, string rootNamespace, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, bool preserveObjectReferences, IDataContractSurrogate dataContractSurrogate ) : System

Initializes a new instance of the InheritableDataContractSerializer class.

IsStartObject ( XmlDictionaryReader reader ) : bool

Gets a value that specifies whether the T:System.Xml.XmlDictionaryReader is positioned over an XML element that can be read.

IsStartObject ( XmlReader reader ) : bool

Gets a value that specifies whether the T:System.Xml.XmlReader is positioned over an XML element that can be read.

ReadObject ( Stream stream ) : object

Reads the XML stream or document with a T:System.IO.Stream and returns the deserialized object.

ReadObject ( XmlDictionaryReader reader ) : object

Reads the XML document or stream with an T:System.Xml.XmlDictionaryReader and returns the deserialized object.

ReadObject ( XmlDictionaryReader reader, bool verifyObjectName ) : object

Reads the XML stream or document with an T:System.Xml.XmlDictionaryReader and returns the deserialized object; it also enables you to specify whether the serializer can read the data before attempting to read it.

ReadObject ( XmlReader reader ) : object

Reads the XML document or stream with an T:System.Xml.XmlReader and returns the deserialized object.

ReadObject ( XmlReader reader, bool verifyObjectName ) : object

Reads the XML document or stream with an T:System.Xml.XmlReader and returns the deserialized object; it also enables you to specify whether the serializer can read the data before attempting to read it.

WriteEndObject ( XmlDictionaryWriter writer ) : void

Writes the end of the object data as a closing XML element to the XML document or stream with an T:System.Xml.XmlDictionaryWriter.

WriteEndObject ( XmlWriter writer ) : void

Writes the end of the object data as a closing XML element to the XML document or stream with an T:System.Xml.XmlWriter.

WriteObject ( Stream stream, object graph ) : void

Writes the complete content (start, content, and end) of the object to the XML document or stream with the specified T:System.IO.Stream.

WriteObject ( XmlDictionaryWriter writer, object graph ) : void

Writes the complete content (start, content, and end) of the object to the XML document or stream with the specified T:System.Xml.XmlDictionaryWriter.

WriteObject ( XmlWriter writer, object graph ) : void

Writes the complete content (start, content, and end) of the object to the XML document or stream with the specified T:System.Xml.XmlWriter.

WriteObjectContent ( XmlDictionaryWriter writer, object graph ) : void

Writes only the content of the object to the XML document or stream using the specified T:System.Xml.XmlDictionaryWriter.

WriteObjectContent ( XmlWriter writer, object graph ) : void

Writes only the content of the object to the XML document or stream with the specified T:System.Xml.XmlWriter.

WriteStartObject ( XmlDictionaryWriter writer, object graph ) : void

Writes the start of the object's data as an opening XML element using the specified T:System.Xml.XmlDictionaryWriter.

WriteStartObject ( XmlWriter writer, object graph ) : void

Writes the start of the object's data as an opening XML element using the specified T:System.Xml.XmlWriter.

메소드 상세

InheritableDataContractSerializer() 공개 메소드

Initializes a new instance of the InheritableDataContractSerializer class.
public InheritableDataContractSerializer ( Type type ) : System
type System.Type The type.
리턴 System

InheritableDataContractSerializer() 공개 메소드

Initializes a new instance of the InheritableDataContractSerializer class.
public InheritableDataContractSerializer ( Type type, IEnumerable knownTypes ) : System
type System.Type The type.
knownTypes IEnumerable The known types.
리턴 System

InheritableDataContractSerializer() 공개 메소드

Initializes a new instance of the InheritableDataContractSerializer class.
public InheritableDataContractSerializer ( Type type, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, bool preserveObjectReferences, IDataContractSurrogate dataContractSurrogate ) : System
type System.Type The type.
knownTypes IEnumerable The known types.
maxItemsInObjectGraph int The max items in object graph.
ignoreExtensionDataObject bool if set to true [ignore extension data object].
preserveObjectReferences bool if set to true [preserve object references].
dataContractSurrogate IDataContractSurrogate The data contract surrogate.
리턴 System

InheritableDataContractSerializer() 공개 메소드

Initializes a new instance of the InheritableDataContractSerializer class.
public InheritableDataContractSerializer ( Type type, XmlDictionaryString rootName, XmlDictionaryString rootNamespace ) : System
type System.Type The type.
rootName System.Xml.XmlDictionaryString Name of the root.
rootNamespace System.Xml.XmlDictionaryString The root namespace.
리턴 System

InheritableDataContractSerializer() 공개 메소드

Initializes a new instance of the InheritableDataContractSerializer class.
public InheritableDataContractSerializer ( Type type, XmlDictionaryString rootName, XmlDictionaryString rootNamespace, IEnumerable knownTypes ) : System
type System.Type The type.
rootName System.Xml.XmlDictionaryString Name of the root.
rootNamespace System.Xml.XmlDictionaryString The root namespace.
knownTypes IEnumerable The known types.
리턴 System

InheritableDataContractSerializer() 공개 메소드

Initializes a new instance of the InheritableDataContractSerializer class.
public InheritableDataContractSerializer ( Type type, XmlDictionaryString rootName, XmlDictionaryString rootNamespace, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, bool preserveObjectReferences, IDataContractSurrogate dataContractSurrogate ) : System
type System.Type The type.
rootName System.Xml.XmlDictionaryString Name of the root.
rootNamespace System.Xml.XmlDictionaryString The root namespace.
knownTypes IEnumerable The known types.
maxItemsInObjectGraph int The max items in object graph.
ignoreExtensionDataObject bool if set to true [ignore extension data object].
preserveObjectReferences bool if set to true [preserve object references].
dataContractSurrogate IDataContractSurrogate The data contract surrogate.
리턴 System

InheritableDataContractSerializer() 공개 메소드

Initializes a new instance of the InheritableDataContractSerializer class.
public InheritableDataContractSerializer ( Type type, string rootName, string rootNamespace ) : System
type System.Type The type.
rootName string Name of the root.
rootNamespace string The root namespace.
리턴 System

InheritableDataContractSerializer() 공개 메소드

Initializes a new instance of the InheritableDataContractSerializer class.
public InheritableDataContractSerializer ( Type type, string rootName, string rootNamespace, IEnumerable knownTypes ) : System
type System.Type The type.
rootName string Name of the root.
rootNamespace string The root namespace.
knownTypes IEnumerable The known types.
리턴 System

InheritableDataContractSerializer() 공개 메소드

Initializes a new instance of the InheritableDataContractSerializer class.
public InheritableDataContractSerializer ( Type type, string rootName, string rootNamespace, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, bool preserveObjectReferences, IDataContractSurrogate dataContractSurrogate ) : System
type System.Type The type.
rootName string Name of the root.
rootNamespace string The root namespace.
knownTypes IEnumerable The known types.
maxItemsInObjectGraph int The max items in object graph.
ignoreExtensionDataObject bool if set to true [ignore extension data object].
preserveObjectReferences bool if set to true [preserve object references].
dataContractSurrogate IDataContractSurrogate The data contract surrogate.
리턴 System

IsStartObject() 공개 메소드

Gets a value that specifies whether the T:System.Xml.XmlDictionaryReader is positioned over an XML element that can be read.
public IsStartObject ( XmlDictionaryReader reader ) : bool
reader System.Xml.XmlDictionaryReader An used to read the XML stream or document.
리턴 bool

IsStartObject() 공개 메소드

Gets a value that specifies whether the T:System.Xml.XmlReader is positioned over an XML element that can be read.
public IsStartObject ( XmlReader reader ) : bool
reader XmlReader An used to read the XML stream or document.
리턴 bool

ReadObject() 공개 메소드

Reads the XML stream or document with a T:System.IO.Stream and returns the deserialized object.
public ReadObject ( Stream stream ) : object
stream Stream A used to read the XML stream or document.
리턴 object

ReadObject() 공개 메소드

Reads the XML document or stream with an T:System.Xml.XmlDictionaryReader and returns the deserialized object.
public ReadObject ( XmlDictionaryReader reader ) : object
reader System.Xml.XmlDictionaryReader An used to read the XML document.
리턴 object

ReadObject() 공개 메소드

Reads the XML stream or document with an T:System.Xml.XmlDictionaryReader and returns the deserialized object; it also enables you to specify whether the serializer can read the data before attempting to read it.
public ReadObject ( XmlDictionaryReader reader, bool verifyObjectName ) : object
reader System.Xml.XmlDictionaryReader An used to read the XML document.
verifyObjectName bool true to check whether the enclosing XML element name and namespace correspond to the root name and root namespace; otherwise, false to skip the verification.
리턴 object

ReadObject() 공개 메소드

Reads the XML document or stream with an T:System.Xml.XmlReader and returns the deserialized object.
public ReadObject ( XmlReader reader ) : object
reader XmlReader An used to read the XML stream or document.
리턴 object

ReadObject() 공개 메소드

Reads the XML document or stream with an T:System.Xml.XmlReader and returns the deserialized object; it also enables you to specify whether the serializer can read the data before attempting to read it.
public ReadObject ( XmlReader reader, bool verifyObjectName ) : object
reader XmlReader An used to read the XML document or stream.
verifyObjectName bool true to check whether the enclosing XML element name and namespace correspond to the root name and root namespace; false to skip the verification.
리턴 object

WriteEndObject() 공개 메소드

Writes the end of the object data as a closing XML element to the XML document or stream with an T:System.Xml.XmlDictionaryWriter.
the type being serialized does not conform to data contract rules. For example, the attribute has not been applied to the type. there is a problem with the instance being serialized. the maximum number of objects to serialize has been exceeded. Check the property.
public WriteEndObject ( XmlDictionaryWriter writer ) : void
writer System.Xml.XmlDictionaryWriter An used to write the XML document or stream.
리턴 void

WriteEndObject() 공개 메소드

Writes the end of the object data as a closing XML element to the XML document or stream with an T:System.Xml.XmlWriter.
the type being serialized does not conform to data contract rules. For example, the attribute has not been applied to the type. there is a problem with the instance being serialized. the maximum number of objects to serialize has been exceeded. Check the property.
public WriteEndObject ( XmlWriter writer ) : void
writer System.Xml.XmlWriter An used to write the XML document or stream.
리턴 void

WriteObject() 공개 메소드

Writes the complete content (start, content, and end) of the object to the XML document or stream with the specified T:System.IO.Stream.
the type being serialized does not conform to data contract rules. For example, the attribute has not been applied to the type. there is a problem with the instance being serialized. the maximum number of objects to serialize has been exceeded. Check the property.
public WriteObject ( Stream stream, object graph ) : void
stream Stream A used to write the XML document or stream.
graph object The object that contains the data to write to the stream.
리턴 void

WriteObject() 공개 메소드

Writes the complete content (start, content, and end) of the object to the XML document or stream with the specified T:System.Xml.XmlDictionaryWriter.
the type being serialized does not conform to data contract rules. For example, the attribute has not been applied to the type. there is a problem with the instance being serialized. the maximum number of objects to serialize has been exceeded. Check the property.
public WriteObject ( XmlDictionaryWriter writer, object graph ) : void
writer System.Xml.XmlDictionaryWriter An used to write the content to the XML document or stream.
graph object The object that contains the content to write.
리턴 void

WriteObject() 공개 메소드

Writes the complete content (start, content, and end) of the object to the XML document or stream with the specified T:System.Xml.XmlWriter.
the type being serialized does not conform to data contract rules. For example, the attribute has not been applied to the type. there is a problem with the instance being serialized. the maximum number of objects to serialize has been exceeded. Check the property.
public WriteObject ( XmlWriter writer, object graph ) : void
writer System.Xml.XmlWriter An used to write the XML document or stream.
graph object The object that contains the content to write.
리턴 void

WriteObjectContent() 공개 메소드

Writes only the content of the object to the XML document or stream using the specified T:System.Xml.XmlDictionaryWriter.
the type being serialized does not conform to data contract rules. For example, the attribute has not been applied to the type. there is a problem with the instance being serialized. the maximum number of objects to serialize has been exceeded. Check the property.
public WriteObjectContent ( XmlDictionaryWriter writer, object graph ) : void
writer System.Xml.XmlDictionaryWriter An used to write the XML document or stream.
graph object The object that contains the content to write.
리턴 void

WriteObjectContent() 공개 메소드

Writes only the content of the object to the XML document or stream with the specified T:System.Xml.XmlWriter.
the type being serialized does not conform to data contract rules. For example, the attribute has not been applied to the type. there is a problem with the instance being serialized. the maximum number of objects to serialize has been exceeded. Check the property.
public WriteObjectContent ( XmlWriter writer, object graph ) : void
writer System.Xml.XmlWriter An used to write the XML document or stream.
graph object The object that contains the content to write.
리턴 void

WriteStartObject() 공개 메소드

Writes the start of the object's data as an opening XML element using the specified T:System.Xml.XmlDictionaryWriter.
the type being serialized does not conform to data contract rules. For example, the attribute has not been applied to the type. there is a problem with the instance being serialized. the maximum number of objects to serialize has been exceeded. Check the property.
public WriteStartObject ( XmlDictionaryWriter writer, object graph ) : void
writer System.Xml.XmlDictionaryWriter An used to write the XML document.
graph object The object to serialize.
리턴 void

WriteStartObject() 공개 메소드

Writes the start of the object's data as an opening XML element using the specified T:System.Xml.XmlWriter.
the type being serialized does not conform to data contract rules. For example, the attribute has not been applied to the type. there is a problem with the instance being serialized. the maximum number of objects to serialize has been exceeded. Check the property.
public WriteStartObject ( XmlWriter writer, object graph ) : void
writer System.Xml.XmlWriter An used to write the XML document.
graph object The object to serialize.
리턴 void