AddInPersistenceManagerRegistrar Class TIBCO Spotfire 7.6 API Reference
This class is used when overriding RegisterTypeBindings(AddInPersistenceManagerRegistrar) method to register type bindings for the deserialization engine.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Application.ExtensionAddInPersistenceManagerRegistrar

Namespace: Spotfire.Dxp.Application.Extension
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public class PersistenceManagerRegistrar

The AddInPersistenceManagerRegistrar type exposes the following members.

Methods

  NameDescription
Public methodAddAssemblyBinding
Adds a binding of an entire assembly.
Public methodAddFieldRename
Adds a binding for the field with the specified originalFieldName in a class of the specified originalAssemblyName and originalTypeName of a PersistenceVersion less than the specified majorUpperVersion and minorUpperVersion. If the class or struct containing the originalFieldName is being deserialized as the specified boundType, value of the field is deserialized and bound to the specified newFieldName.
Public methodAddFieldTypeBinding
Adds a binding for the specified fieldName in the class or struct specified by definingType. The value of such fields are deserialized as the specified fieldType.
Public methodAddNamespaceRename
Adds a binding for a namespace rename.
Public methodCode exampleAddTypeBinding
Adds a binding of a type with the specified original assembly and type name. Use this method to add support for backwards compatibility with respect to removed types. When an object with the specified specified original assembly and type, marked with a PersistenceVersion attribute less than the specified majorUpperVersion and minorUpperVersion, is encountered in the serialized format, an object of the specified boundType will be deserialized in place of the original type.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Top
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference