This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

AspectSerializer Class

Base class for Laos serializers, whose role is to serialize aspect instances at compile-time and deserialize them at runtime.
Inheritance Hierarchy

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

The AspectSerializer type exposes the following members.

Constructors
  NameDescription
Protected methodAspectSerializer
Initializes a new instance of the AspectSerializer class
Top
Methods
  NameDescription
Protected methodDeserialize(Stream, IMetadataDispenser)
Deserializes a stream into an array if aspects.
Public methodDeserialize(Assembly, String, IMetadataDispenser)
Deserializes aspects contained in a managed resource of an assembly.
Public methodSerialize
Serializes an array of aspects into a stream.
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
See Also