EGDL2 2.1
Loading...
Searching...
No Matches
FullSerializer.Internal.fsNullableConverter Class Reference

The reflected converter will properly serialize nullable types. However, we do it here instead as we can emit less serialization data. More...

Inheritance diagram for FullSerializer.Internal.fsNullableConverter:
Collaboration diagram for FullSerializer.Internal.fsNullableConverter:

Public Member Functions

override object CreateInstance (fsData data, Type storageType)
 Construct an object instance that will be passed to TryDeserialize. This should not deserialize the object.
 
- Public Member Functions inherited from FullSerializer.fsConverter
bool CanProcess (Type type)
 Can this converter serialize and deserialize the given object type?
 
- Public Member Functions inherited from FullSerializer.fsBaseConverter
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 reflected converter will properly serialize nullable types. However, we do it here instead as we can emit less serialization data.

Member Function Documentation

◆ CreateInstance()

override object FullSerializer.Internal.fsNullableConverter.CreateInstance ( fsData data,
Type storageType )
inlinevirtual

Construct an object instance that will be passed to TryDeserialize. This should not deserialize the object.

Parameters
dataThe data the object was serialized with.
storageTypeThe field/property type that is storing the instance.
Returns
An object instance

Reimplemented from FullSerializer.fsBaseConverter.


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