C# 클래스 System.Runtime.Serialization.Plists.DataContractBinaryPlistSerializer

파일 보기 프로젝트 열기: ChadBurggraf/plists-cs

공개 메소드들

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

Initializes a new instance of the DataContractBinaryPlistSerializer class.

ReadObject ( Stream stream ) : object

Reads an object from the specified stream.

WriteObject ( Stream stream, object graph ) : void

Writes the complete contents of the given object to the specified stream.

WriteObject ( Stream stream, object graph, bool closeStream ) : void

Writes the complete contents of the given object to the specified stream.

비공개 메소드들

메소드 설명
GetReadablePlistObject ( Type type, object obj ) : object

Gets the readable plist value of the given object identified by the specified type.

GetWritablePlistObject ( Type type, object obj ) : object

Gets the writable plist value of the given object identified by the specified type.

메소드 상세

DataContractBinaryPlistSerializer() 공개 메소드

Initializes a new instance of the DataContractBinaryPlistSerializer class.
public DataContractBinaryPlistSerializer ( Type type ) : System
type System.Type The type of the instances that are serialized or de-serialized.
리턴 System

ReadObject() 공개 메소드

Reads an object from the specified stream.
public ReadObject ( Stream stream ) : object
stream Stream The stream to read from.
리턴 object

WriteObject() 공개 메소드

Writes the complete contents of the given object to the specified stream.
public WriteObject ( Stream stream, object graph ) : void
stream Stream The stream to write to.
graph object The object to write.
리턴 void

WriteObject() 공개 메소드

Writes the complete contents of the given object to the specified stream.
public WriteObject ( Stream stream, object graph, bool closeStream ) : void
stream Stream The stream to write to.
graph object The object to write.
closeStream bool A value indicating whether to close the stream after the write operation completes.
리턴 void