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

Class AspectSerializer

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

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


Name Description
AspectSerializer() PostSharp.Aspects.Serialization.AspectSerializer


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.