C# 클래스 FarleyFile.DataSerializerWithProtoBuf

Copied from Lokad.CQRS
상속: IDataSerializer
파일 보기 프로젝트 열기: abdullin/Farleyfile

공개 메소드들

메소드 설명
DataSerializerWithProtoBuf ( ICollection knownTypes ) : System
Deserialize ( Stream source, Type type ) : object
Serialize ( object instance, Stream destination ) : void
TryGetContractNameByType ( Type messageType, string &contractName ) : bool
TryGetContractTypeByName ( string contractName, Type &contractType ) : bool

비공개 메소드들

메소드 설명
InitIdentityTree ( ) : void

메소드 상세

DataSerializerWithProtoBuf() 공개 메소드

public DataSerializerWithProtoBuf ( ICollection knownTypes ) : System
knownTypes ICollection
리턴 System

Deserialize() 공개 메소드

public Deserialize ( Stream source, Type type ) : object
source Stream
type System.Type
리턴 object

Serialize() 공개 메소드

public Serialize ( object instance, Stream destination ) : void
instance object
destination Stream
리턴 void

TryGetContractNameByType() 공개 메소드

public TryGetContractNameByType ( Type messageType, string &contractName ) : bool
messageType System.Type
contractName string
리턴 bool

TryGetContractTypeByName() 공개 메소드

public TryGetContractTypeByName ( string contractName, Type &contractType ) : bool
contractName string
contractType System.Type
리턴 bool