Click or drag to resize
SerializationUtils Class
Small class which helps with versioning in binary normal serialization code. It allows swallowing of exceptions which occur when incompatible binary data is deserialized with newer code which expects members to be there.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesSerializationUtils

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public static class SerializationUtils

The SerializationUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberInfoGetBoolean
Will try to read the value for the field named as the name specified in fieldName. If the field doesn't exist, false is returned.
Public methodStatic memberInfoGetInt32(SerializationInfo, String)
Will try to read the value for the field named as the name specified in fieldName. If the field doesn't exist, 0 is returned.
Public methodStatic memberInfoGetInt32(SerializationInfo, String, Int32)
Will try to read the value for the field named as the name specified in fieldName. If the field doesn't exist, 0 is returned.
Public methodStatic memberInfoGetString(SerializationInfo, String)
Will try to read the value for the field named as the name specified in fieldName. If the field doesn't exist, an empty string is returned.
Public methodStatic memberInfoGetString(SerializationInfo, String, String)
Will try to read the value for the field named as the name specified in fieldName. If the field doesn't exist, an empty string is returned.
Public methodStatic memberInfoGetValue
Will try to read the value for the field named as the name specified in fieldName. If the field doesn't exist, null is returned.
Top
See Also