PostSharpAPI ReferencePost­Sharp.​Aspects.​SerializationBinary­Aspect­Serializer
Open sandboxFocus

BinaryAspectSerializer Class

Implementation of AspectSerializer based on the BinaryFormatter provided by the full version of the .NET Framework.

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

Constructors

Name Description
BinaryAspectSerializer()

Methods

Name Description
ChainSurrogateSelector(ISurrogateSelector)

Adds an item to the chain of surrogate selectors used during the process of serializing aspects.

Deserialize(Stream, IMetadataDispenser)

Deserializes a stream into an array if aspects.

Serialize(IAspect[], Stream, IMetadataEmitter)

Serializes an array of aspects into a stream.