MetalamaAPI documentationAspect APIMetalama.​Framework.​SerializationICompile­Time­Serialization­Callback
Open sandboxFocus

ICompileTimeSerializationCallback Interface

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

Namespace: Metalama.Framework.Serialization
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public interface ICompileTimeSerializationCallback

Methods

Name Description
OnDeserialized()

Method called after the object has been deserialized.

OnSerializing()

Method called before the object is being serialized.