SerializerSurrogate Class |
Namespace: DHI.Mike1D.Generic
The SerializerSurrogate type exposes the following members.
Name | Description | |
---|---|---|
SerializerSurrogate | Initializes a new instance of the SerializerSurrogate class |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetDeserializedObject |
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.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectToSerialize |
The GetObjectToSerialize method converts the original type instance
to the surrogated type instance. The method is required for serialization.
Return input object, if not handling type
| |
GetSurrogateType | During serialization, deserialization, and schema import and export, returns a data contract type that substitutes the specified type. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RegisterSurrogateHandler |
Register a ISerializerSurrogateHandler to handle one specific type
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |