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.

Definition

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

Parameters

obj  Object
The deserialized object to be substituted.
targetType  Type
The Type that the substituted object should be assigned to.

Return Value

Object
The substituted deserialized object.

See Also