AspectSerializer.Deserialize Method (Stream, IMetadataDispenser) |
Deserializes a stream into an array if aspects.
Namespace: PostSharp.Aspects.Serialization
Assembly: PostSharp (in PostSharp.dll) Version: 6.6.14.0 (6.6.14.0)
C#
protected abstract IAspect[] Deserialize( Stream stream, IMetadataDispenser metadataDispenser )
Parameters
- stream
- Type: System.IO.Stream
Stream containing serialized aspects. - metadataDispenser
- Type: PostSharp.Reflection.IMetadataDispenser
Metadata dispenser to be used to resolve serialized metadata references in stream.
Return Value
Type: IAspect[]An array of aspects.
The implementation is not allowed to change the order or array elements.