SerializerFilePathHandler Class

A handler that handles FilePath's during (de)serialization.

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 class SerializerFilePathHandler : ISerializerSurrogateHandler
Inheritance
Object    SerializerFilePathHandler
Implements
ISerializerSurrogateHandler

Constructors

SerializerFilePathHandler Create a new handler that handles FilePaths during (de)serialization

Properties

BasePath FilePath to use as base

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetDataContractType During serialization, deserialization, and schema import and export, returns a data contract type that substitutes the specified type.
GetDeserializedObject During deserialization, returns an object that is a substitute for the specified object. Go from SerializerFilePathSurrogate to FilePath before de-serialization.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetObjectToSerialize When deserializing, handle the deserialized object. If type changes, transform obj to the original type. Go from FilePath to SerializerFilePathSurrogate before serialization.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also