EGDL2 2.1
Loading...
Searching...
No Matches
FullSerializer.fsConverter Class Referenceabstract

The serialization converter allows for customization of the serialization process. More...

Inheritance diagram for FullSerializer.fsConverter:
Collaboration diagram for FullSerializer.fsConverter:

Public Member Functions

bool CanProcess (Type type)
 Can this converter serialize and deserialize the given object type?
 
- Public Member Functions inherited from FullSerializer.fsBaseConverter
virtual object CreateInstance (fsData data, Type storageType)
 Construct an object instance that will be passed to TryDeserialize. This should not deserialize the object.
 
virtual bool RequestCycleSupport (Type storageType)
 If true, then the serializer will support cyclic references with the given converted type.
 
virtual bool RequestInheritanceSupport (Type storageType)
 If true, then the serializer will include inheritance data for the given converter.
 
fsResult TrySerialize (object instance, out fsData serialized, Type storageType)
 Serialize the actual object into the given data storage.
 
fsResult TryDeserialize (fsData data, ref object instance, Type storageType)
 Deserialize data into the object instance.
 

Additional Inherited Members

- Public Attributes inherited from FullSerializer.fsBaseConverter
fsSerializer Serializer
 The serializer that was owns this converter.
 

Detailed Description

The serialization converter allows for customization of the serialization process.

Member Function Documentation

◆ CanProcess()

bool FullSerializer.fsConverter.CanProcess ( Type type)
abstract

Can this converter serialize and deserialize the given object type?

Parameters
typeThe given object type.
Returns
True if the converter can serialize it, false otherwise.

The documentation for this class was generated from the following file: