SerializationConfig Methods |
The SerializationConfig type exposes the following members.
Name | Description | |
---|---|---|
AddClassDefinition |
Adds a IPortable class definition to be registered
| |
AddDataSerializableFactory |
Adds a IDataSerializableFactory mapped with a factory id to be registered
| |
AddDataSerializableFactoryClass(Int32, String) |
Adds a IDataSerializableFactory mapped with a factory id to be registered
| |
AddDataSerializableFactoryClass(Int32, Type) |
Adds a IDataSerializableFactory mapped with a factory id to be registered
| |
AddPortableFactory |
Adds a IPortableFactory mapped with a factory id to be registered
| |
AddPortableFactoryClass(Int32, String) |
Adds a IPortableFactory mapped with a factory id to be registered
| |
AddPortableFactoryClass(Int32, Type) |
Adds a IPortableFactory mapped with a factory id to be registered
| |
AddSerializerConfig |
Adds a SerializationConfig | |
Equals | (Inherited from Object.) | |
GetByteOrder |
Gets the configured ByteOrder | |
GetClassDefinitions |
Gets all registered IClassDefinitions
| |
GetDataSerializableFactories |
Gets the dictionary of factoryId to IDataSerializableFactory mapping
| |
GetDataSerializableFactoryClasses |
Gets the dictionary of factoryId to IDataSerializableFactory class names mapping
| |
GetGlobalSerializerConfig | ||
GetHashCode | (Inherited from Object.) | |
GetPortableFactories |
Gets the dictionary of factoryId to IPortableFactory mapping
| |
GetPortableFactoryClasses |
Gets the dictionary of factoryId to IPortableFactory class names mapping
| |
GetPortableVersion |
Gets the configured Portable version that will be used to differentiate two versions of the same class
that have changes on the class, like adding/removing a field or changing a type of a field.
| |
GetSerializerConfigs |
Gets all SerializationConfigs
| |
GetType | (Inherited from Object.) | |
IsCheckClassDefErrors |
When enabled, serialization system will check for class definitions error at start
and throw an Serialization Exception with error definition or not.
Default value is true | |
IsEnableCompression | Obsolete.
Not used
| |
IsEnableSharedObject | Obsolete.
Not used
| |
IsUseNativeByteOrder | ||
SetByteOrder |
Sets the serialization's ByteOrder | |
SetCheckClassDefErrors |
When enabled, serialization system will check for class definitions error at start
and throw an Serialization Exception with error definition or not.
| |
SetClassDefinitions |
Sets all IClassDefinitions
| |
SetDataSerializableFactories |
Sets the dictionary of factory ID and corresponding IDataSerializableFactorys
| |
SetDataSerializableFactoryClasses |
Sets the dictionary of factory ID and corresponding factory class names
| |
SetEnableCompression | Obsolete.
Not used
| |
SetEnableSharedObject | Obsolete.
Not used
| |
SetGlobalSerializerConfig | ||
SetPortableFactories |
Sets the dictionary of factory ID and corresponding IPortableFactorys
| |
SetPortableFactoryClasses |
Sets the dictionary of factory ID and corresponding factory class names
| |
SetPortableVersion |
Sets the version of portable classes
| |
SetSerializerConfigs |
Sets all SerializationConfigs
| |
SetUseNativeByteOrder |
Sets to use native byte order of the underlying platform
| |
ToString | (Overrides ObjectToString.) |