SerializerSurrogateGetDataContractType Method |
The GetDataContractType method maps one type to another.
On serialization, the mapping returned by this method is
subsequently used to transform the original instance to a
surrogated instance by calling the GetObjectToSerialize method.
On deserialization, the mapping returned by this method is
used by the serializer to deserialize into an instance of
the surrogate type. It subsequently calls GetDeserializedObject
to transform the surrogated instance into an instance of the
original type.
If the type is not handled by this class, the input type is
just returned.
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax See Also