PostSharp//API Reference/Post­Sharp.​Aspects.​Serialization/Aspect­Serializer/Serialize
Open sandboxFocus

Method Serialize

Serialize(IAspect[], Stream, IMetadataEmitter)

Serializes an array of aspects into a stream.

public abstract void Serialize(IAspect[] aspects, Stream stream, IMetadataEmitter metadataEmitter)
Type Name Description
IAspect[] aspects

Array of aspects to be serialized.

Stream stream

Stream into which aspects have to be serialized.

IMetadataEmitter metadataEmitter

A metadata emitter for the current module.