Interface that can be implemented by serializable classes. It defines methods OnDeserialized() and OnSerializing() called during serialization.
[CompileTime] public interface ICompileTimeSerializationCallback
Method called after the object has been deserialized.
Method called before the object is being serialized.