Class fsNullableConverter
The reflected converter will properly serialize nullable types. However,
we do it here instead as we can emit less serialization data.
Inheritance
fsNullableConverter
Syntax
public class fsNullableConverter : fsConverter
Methods
CanProcess(Type)
Declaration
public override bool CanProcess(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Overrides
CreateInstance(fsData, Type)
Declaration
public override object CreateInstance(fsData data, Type storageType)
Parameters
Type |
Name |
Description |
fsData |
data |
|
Type |
storageType |
|
Returns
Overrides
TryDeserialize(fsData, ref Object, Type)
Declaration
public override fsResult TryDeserialize(fsData data, ref object instance, Type storageType)
Parameters
Returns
Overrides
TrySerialize(Object, out fsData, Type)
Declaration
public override fsResult TrySerialize(object instance, out fsData serialized, Type storageType)
Parameters
Returns
Overrides
Extension Methods