PostSharp6.3/API Reference/Post­Sharp.​Aspects.​Serialization Namespace/Aspect­Serializer Class/Aspect­Serializer Methods/Aspect­Serializer.​Serialize Method

AspectSerializer.Serialize Method

Serializes an array of aspects into a stream.

Namespace:  PostSharp.Aspects.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 6.3.9.0 (6.3.9.0)
Syntax
C#
public abstract void Serialize(
	IAspect[] aspects,
	Stream stream,
	IMetadataEmitter metadataEmitter
)

Parameters

aspects
Type: PostSharp.Aspects.IAspect[]
Array of aspects to be serialized.
stream
Type: System.IO.Stream
Stream into which aspects have to be serialized.
metadataEmitter
Type: PostSharp.Reflection.IMetadataEmitter
A metadata emitter for the current module.
See Also