C# Class BitSharper.Threading.Utility.SerializationUtilities

Collection of static methods that aid in serialization.
Afficher le fichier Open project: TangibleCryptography/BitSharper

Méthodes publiques

Méthode Description
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.

Method Details

DefaultReadObject() public static méthode

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.
Résultat void

DefaultWriteObject() public static méthode

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.
Résultat void