C# Class Microsoft.ResourceManagement.Client.ClientSerializer

XmlObjectSerializer-based Serializer, wraps XMLSerializer
Inheritance: System.Runtime.Serialization.XmlObjectSerializer
Afficher le fichier Open project: Predica/FimClient Class Usage Examples

Méthodes publiques

Méthode Description
ClientSerializer ( Type type ) : System

Constructor to set type

IsStartObject ( System reader ) : bool

IsStartObject returns true if the object found in the read can be deserialized. We use CanDeserialize to get the answer.

ReadObject ( System reader, bool verifyObjectName ) : object

ReadObject is used to read and object from the reader. Deserialize will do the work.

WriteEndObject ( System writer ) : void

WriteEndObject is used to close up the object. Since the XMLSerialzer does all the work, nothing is needed here.

WriteObjectContent ( System writer, object graph ) : void

WriteObjectContent is called to serialze the object to writer. Serialze will do the work here.

WriteStartObject ( System writer, object graph ) : void

WriteStartObject is used to start off the object. Since the XMLSerialzer does all the work, nothing is needed here.

Method Details

ClientSerializer() public méthode

Constructor to set type
public ClientSerializer ( Type type ) : System
type System.Type
Résultat System

IsStartObject() public méthode

IsStartObject returns true if the object found in the read can be deserialized. We use CanDeserialize to get the answer.
public IsStartObject ( System reader ) : bool
reader System
Résultat bool

ReadObject() public méthode

ReadObject is used to read and object from the reader. Deserialize will do the work.
public ReadObject ( System reader, bool verifyObjectName ) : object
reader System
verifyObjectName bool
Résultat object

WriteEndObject() public méthode

WriteEndObject is used to close up the object. Since the XMLSerialzer does all the work, nothing is needed here.
public WriteEndObject ( System writer ) : void
writer System
Résultat void

WriteObjectContent() public méthode

WriteObjectContent is called to serialze the object to writer. Serialze will do the work here.
public WriteObjectContent ( System writer, object graph ) : void
writer System
graph object
Résultat void

WriteStartObject() public méthode

WriteStartObject is used to start off the object. Since the XMLSerialzer does all the work, nothing is needed here.
public WriteStartObject ( System writer, object graph ) : void
writer System
graph object
Résultat void