C# 클래스 Microsoft.ResourceManagement.Client.ClientSerializer

XmlObjectSerializer-based Serializer, wraps XMLSerializer
상속: System.Runtime.Serialization.XmlObjectSerializer
파일 보기 프로젝트 열기: Predica/FimClient 1 사용 예제들

공개 메소드들

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

메소드 상세

ClientSerializer() 공개 메소드

Constructor to set type
public ClientSerializer ( Type type ) : System
type System.Type
리턴 System

IsStartObject() 공개 메소드

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
리턴 bool

ReadObject() 공개 메소드

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
리턴 object

WriteEndObject() 공개 메소드

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
리턴 void

WriteObjectContent() 공개 메소드

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
리턴 void

WriteStartObject() 공개 메소드

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
리턴 void