C# 클래스 Stash.Serializers.Binary.AggregateReferenceSurrogate

상속: ISerializationSurrogate
파일 보기 프로젝트 열기: AndyHitchman/Stash 1 사용 예제들

공개 메소드들

메소드 설명
GetObjectData ( object obj, SerializationInfo info, StreamingContext context ) : void

Populates the provided T:System.Runtime.Serialization.SerializationInfo with the data needed to serialize the object.

SetObjectData ( object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector ) : object

Populates the object using the information in the T:System.Runtime.Serialization.SerializationInfo.

메소드 상세

GetObjectData() 공개 메소드

Populates the provided T:System.Runtime.Serialization.SerializationInfo with the data needed to serialize the object.
The caller does not have the required permission. ///
public GetObjectData ( object obj, SerializationInfo info, StreamingContext context ) : void
obj object The object to serialize. ///
info System.Runtime.Serialization.SerializationInfo The to populate with data. ///
context System.Runtime.Serialization.StreamingContext The destination (see ) for this serialization. ///
리턴 void

SetObjectData() 공개 메소드

Populates the object using the information in the T:System.Runtime.Serialization.SerializationInfo.
The caller does not have the required permission. ///
public SetObjectData ( object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector ) : object
obj object The object to populate. ///
info System.Runtime.Serialization.SerializationInfo The information to populate the object. ///
context System.Runtime.Serialization.StreamingContext The source from which the object is deserialized. ///
selector ISurrogateSelector The surrogate selector where the search for a compatible surrogate begins. ///
리턴 object