PostSharpAPI ReferencePost­Sharp.​SerializationISerialization­Callback
Open sandboxFocus

ISerializationCallback Interface

Interface that can be implemented by serializable classes. It defines methods OnDeserialized() and OnSerializing() called during serialization.

Namespace: PostSharp.Serialization
Assembly: PostSharp.dll
Syntax
public interface ISerializationCallback

Methods

Name Description
OnDeserialized()

Method called after the object has been deserialized.

OnSerializing()

Method called before the object is being serialized.