mscorlib(4.0.0.0) API with additions
IFormatter.cs
1 using System.IO;
3 
5 {
7  [ComVisible(true)]
8  public interface IFormatter
9  {
13  {
14  get;
15  set;
16  }
17 
21  {
22  get;
23  set;
24  }
25 
29  {
30  get;
31  set;
32  }
33 
37  object Deserialize(Stream serializationStream);
38 
42  void Serialize(Stream serializationStream, object graph);
43  }
44 }
Allows users to control class loading and mandate what class to load.
void Serialize(Stream serializationStream, object graph)
Serializes an object, or graph of objects with the given root to the provided stream.
Definition: __Canon.cs:3
Describes the source and destination of a given serialized stream, and provides an additional caller-...
object Deserialize(Stream serializationStream)
Deserializes the data on the provided stream and reconstitutes the graph of objects.
Provides functionality for formatting serialized objects.
Definition: IFormatter.cs:8
Indicates a serialization surrogate selector class.
StreamingContext Context
Gets or sets the T:System.Runtime.Serialization.StreamingContext used for serialization and deseriali...
Definition: IFormatter.cs:29
Assists formatters in selection of the serialization surrogate to delegate the serialization or deser...
SerializationBinder Binder
Gets or sets the T:System.Runtime.Serialization.SerializationBinder that performs type lookups during...
Definition: IFormatter.cs:21
Provides a generic view of a sequence of bytes. This is an abstract class.To browse the ....
Definition: Stream.cs:16