|
EGDL2 2.1
|
The direct converter is similar to a regular converter, except that it targets specifically only one type. This means that it can be used without performance impact when discovering converters. It is strongly recommended that you derive from fsDirectConverter{TModel}. More...


Additional Inherited Members | |
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. | |
Public Attributes inherited from FullSerializer.fsBaseConverter | |
| fsSerializer | Serializer |
| The serializer that was owns this converter. | |
The direct converter is similar to a regular converter, except that it targets specifically only one type. This means that it can be used without performance impact when discovering converters. It is strongly recommended that you derive from fsDirectConverter{TModel}.
Due to the way that direct converters operate, inheritance is not supported. Direct converters will only be used with the exact ModelType object.