C# 클래스 BitSharper.Threading.Utility.SerializationUtilities

Collection of static methods that aid in serialization.
파일 보기 프로젝트 열기: TangibleCryptography/BitSharper

공개 메소드들

메소드 설명
DefaultReadObject ( SerializationInfo info, StreamingContext context, Object instance ) : void

Reads the serialized fields written by the DefaultWriteObject method.

DefaultWriteObject ( SerializationInfo info, StreamingContext context, Object instance ) : void

Writes the serializable fields to the SerializationInfo object, which stores all the data needed to serialize the specified object object.

메소드 상세

DefaultReadObject() 공개 정적인 메소드

Reads the serialized fields written by the DefaultWriteObject method.
public static DefaultReadObject ( SerializationInfo info, StreamingContext context, Object instance ) : void
info System.Runtime.Serialization.SerializationInfo SerializationInfo parameter from the special deserialization constructor.
context System.Runtime.Serialization.StreamingContext StreamingContext parameter from the special deserialization constructor
instance Object Object to deserialize.
리턴 void

DefaultWriteObject() 공개 정적인 메소드

Writes the serializable fields to the SerializationInfo object, which stores all the data needed to serialize the specified object object.
public static DefaultWriteObject ( SerializationInfo info, StreamingContext context, Object instance ) : void
info System.Runtime.Serialization.SerializationInfo SerializationInfo parameter from the GetObjectData method.
context System.Runtime.Serialization.StreamingContext StreamingContext parameter from the GetObjectData method.
instance Object Object to serialize.
리턴 void