ISerializationCallback Interface |
Interface that can be implemented by serializable classes.
It defines methods OnDeserialized() and OnSerializing() called during serialization.
Namespace: PostSharp.Serialization
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public interface ISerializationCallback
The ISerializationCallback type exposes the following members.
Name | Description | |
---|---|---|
OnDeserialized |
Method called after the object has been deserialized.
| |
OnSerializing |
Method called before the object is being serialized.
|