Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects.​Serialization Namespace / Binary­Aspect­Serializer Class

BinaryAspectSerializer Class

Implementation of AspectSerializer based on the BinaryFormatter provided by the full version of the .NET Framework.
Inheritance Hierarchy
System.Object
  PostSharp.Aspects.Serialization.AspectSerializer
    PostSharp.Aspects.Serialization.BinaryAspectSerializer

Namespace:  PostSharp.Aspects.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.38.0 (5.0.38.0)
Syntax
C#
public class BinaryAspectSerializer : AspectSerializer

The BinaryAspectSerializer type exposes the following members.

Constructors
  NameDescription
Public methodBinaryAspectSerializer
Initializes a new instance of the BinaryAspectSerializer class
Methods
  NameDescription
Public methodStatic memberChainSurrogateSelector
Adds an item to the chain of surrogate selectors used during the process of serializing aspects.
Protected methodDeserialize(Stream, IMetadataDispenser)
Deserializes a stream into an array if aspects.
(Overrides AspectSerializer.Deserialize(Stream, IMetadataDispenser).)
Public methodDeserialize(Assembly, String, IMetadataDispenser)
Deserializes aspects contained in a managed resource of an assembly.
(Inherited from AspectSerializer.)
Public methodSerialize
Serializes an array of aspects into a stream.
(Overrides AspectSerializer.Serialize(IAspect[], Stream, IMetadataEmitter).)
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also