ISerializerSurrogateHandler Interface
Interface for classes that handles special behavior
when (de)serializing a certain type.
Namespace: DHI.Mike1D.GenericAssembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
public interface ISerializerSurrogateHandler
| GetDataContractType |
During serialization, deserialization, and schema import and export, returns a data contract type that substitutes the specified type.
|
| GetDeserializedObject |
During deserialization, returns an object that is a substitute for the specified object.
|
| GetObjectToSerialize |
When deserializing, handle the deserialized object.
If type changes, transform obj to the original type.
|