EGDL2 2.1
Loading...
Searching...
No Matches
FullSerializer.fsISerializationCallbacks Interface Reference

Extend this interface on your type to receive notifications about serialization/deserialization events. If you don't have access to the type itself, then you can write an fsObjectProcessor instead. More...

Public Member Functions

void OnBeforeSerialize (Type storageType)
 Called before serialization.
 
void OnAfterSerialize (Type storageType, ref fsData data)
 Called after serialization.
 
void OnBeforeDeserialize (Type storageType, ref fsData data)
 Called before deserialization.
 
void OnAfterDeserialize (Type storageType)
 Called after deserialization.
 

Detailed Description

Extend this interface on your type to receive notifications about serialization/deserialization events. If you don't have access to the type itself, then you can write an fsObjectProcessor instead.

Member Function Documentation

◆ OnAfterDeserialize()

void FullSerializer.fsISerializationCallbacks.OnAfterDeserialize ( Type storageType)

Called after deserialization.

Parameters
storageTypeThe field/property type that is storing the instance.
instanceThe type of the instance.

◆ OnAfterSerialize()

void FullSerializer.fsISerializationCallbacks.OnAfterSerialize ( Type storageType,
ref fsData data )

Called after serialization.

Parameters
storageTypeThe field/property type that is storing the instance.
dataThe data that was serialized.

◆ OnBeforeDeserialize()

void FullSerializer.fsISerializationCallbacks.OnBeforeDeserialize ( Type storageType,
ref fsData data )

Called before deserialization.

Parameters
storageTypeThe field/property type that is storing the instance.
dataThe data that will be used for deserialization.

The documentation for this interface was generated from the following file: