PostSharpAPI ReferencePost­Sharp.​Aspects.​SerializationAspect­Serializer
Open sandboxFocus

AspectSerializer Class

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

Inheritance
System.Object
AspectSerializer
Namespace: PostSharp.Aspects.Serialization
Assembly: PostSharp.dll
Syntax
public abstract class AspectSerializer : Object

Constructors

Name Description
AspectSerializer()

Methods

Name Description
Deserialize(Stream, IMetadataDispenser)

Deserializes a stream into an array if aspects.

Deserialize(Assembly, String, IMetadataDispenser)

Deserializes aspects contained in a managed resource of an assembly.

Serialize(IAspect[], Stream, IMetadataEmitter)

Serializes an array of aspects into a stream.