Click or drag to resize

SerializerSurrogateGetDeserializedObject Method

The GetDeserializedObject method converts the surrogated type instance to the original type instance. It is required for deserialization. Return input object, if not handling type.

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public Object GetDeserializedObject(
	Object obj,
	Type targetType
)

Parameters

obj
Type: SystemObject
The deserialized object to be substituted.
targetType
Type: SystemType
The Type that the substituted object should be assigned to.

Return Value

Type: Object
The substituted deserialized object.

Implements

ISerializationSurrogateProviderGetDeserializedObject(Object, Type)
See Also