PostSharp6.0/API Reference/Post­Sharp.​Patterns.​Model Namespace/IAttachable Interface/IAttachable Methods/IAttachable.​On­Deserialization Method

IAttachable.OnDeserialization Method

Restores the correct state when the object is being deserialized.

Namespace:  PostSharp.Patterns.Model
Assembly:  PostSharp.Patterns.Aggregation (in PostSharp.Patterns.Aggregation.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
void OnDeserialization(
	Object caller
)

Parameters

caller
Type: System.Object
Object governing the deserialization.
Remarks

This method is redundant with IDeserializationCallback on platforms where this interface is supported.

See Also