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

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.39.0 (5.0.39.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
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.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also