DHI.Mike1D Class Library
C#
Show/Hide TOC
Serializer
Double
Array
Handler
Get
Object
To
Serialize Method
When deserializing, handle the deserialized object. If type changes, transform obj to the original type.
Definition
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
Copy
public
Object
GetObjectToSerialize
(
Object
obj
,
Type
targetType
)
Parameters
obj
Object
Deserialized object - the object to substitute.
targetType
Type
The Type that the substituted object should be assigned to.
Return Value
Object
New/updated object replacing deserialized object. Null if not handled by this instance
Implements
ISerializerSurrogateHandler
GetObjectToSerialize(Object, Type)
See Also
Reference
SerializerDoubleArrayHandler Class
DHI.Mike1D.Generic Namespace
In This Article
Definition
Parameters
Return Value
Implements
See Also