PostSharp5.0/API Reference/Post­Sharp.​Aspects.​Serialization Namespace/Aspect­Serializer Class/Aspect­Serializer Methods/Aspect­Serializer.​Deserialize Method/Aspect­Serializer.​Deserialize Method (Assembly, String, IMetadata­Dispenser)

AspectSerializer.Deserialize Method (Assembly, String, IMetadataDispenser)

Deserializes aspects contained in a managed resource of an assembly.

Namespace:  PostSharp.Aspects.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public IAspect[] Deserialize(
	Assembly assembly,
	string resourceName,
	IMetadataDispenser metadataDispenser
)

Parameters

assembly
Type: System.Reflection.Assembly
Assembly containing the serialized aspects.
resourceName
Type: System.String
Name of the managed resources into which aspects have been serialized.
metadataDispenser
Type: PostSharp.Reflection.IMetadataDispenser
Metadata dispenser to be used to resolve serialized metadata references in this resource.

Return Value

Type: IAspect[]
An array of aspects.
See Also