Class SerializationBase
Base class for persistence serialization and deserialization.
Inheritance
Namespace: Telerik.Windows.Persistence.Serialization
Assembly: Telerik.Windows.PersistenceFramework.dll
Syntax
public class SerializationBase : Object
Constructors
SerializationBase(PersistenceManager)
Initializes a new instance of the SerializationBase class.
Declaration
public SerializationBase(PersistenceManager manager)
Parameters
PersistenceManager
manager
The associated PersistenceManager instance. |
Fields
NULLVALUEKEY
Keeps the key for a serialized null object.
Declaration
protected const int NULLVALUEKEY = -1
Field Value
System.Int32
|
UNSETVALUEKEY
Keeps the key for a serialized DependencyProperty.UnsetValue object.
Declaration
protected const int UNSETVALUEKEY = -2
Field Value
System.Int32
|
Properties
CachedIncompatibleTypes
Gets or sets the cached incompatible types.
Declaration
protected Dictionary<int, TypeInfo> CachedIncompatibleTypes { get; set; }
Property Value
System.Collections.Generic.Dictionary<System.Int32, TypeInfo>
The cached incompatible types. |
CachedTypeCacheData
Gets or sets the cached type cache data.
Declaration
protected Dictionary<int, TypeCacheData> CachedTypeCacheData { get; set; }
Property Value
System.Collections.Generic.Dictionary<System.Int32, TypeCacheData>
The cached type cache data. |
CachedTypes
Gets or sets the cached types.
Declaration
protected Dictionary<int, TypeInfo> CachedTypes { get; set; }
Property Value
System.Collections.Generic.Dictionary<System.Int32, TypeInfo>
The cached all types. |
KnownTypeConverters
Gets or sets the known type converters.
Declaration
protected static Dictionary<int, string> KnownTypeConverters { get; set; }
Property Value
System.Collections.Generic.Dictionary<System.Int32, System.String>
The known type converters. |
Manager
Gets or sets the manager.
Declaration
protected PersistenceManager Manager { get; set; }
Property Value
PersistenceManager
The manager. |
Primitives
Gets or sets the primitives.
Declaration
protected Dictionary<int, PrimitiveValue> Primitives { get; set; }
Property Value
System.Collections.Generic.Dictionary<System.Int32, PrimitiveValue>
The primitives. |
References
Gets or sets the references.
Declaration
protected Dictionary<int, ReferenceValue> References { get; set; }
Property Value
System.Collections.Generic.Dictionary<System.Int32, ReferenceValue>
The references. |
TraversedObjects
Gets or sets the traversed objects.
Declaration
protected Dictionary<int, object> TraversedObjects { get; set; }
Property Value
System.Collections.Generic.Dictionary<System.Int32, System.Object>
The traversed objects. |
Methods
GetCollectionId(IEnumerable<Type>)
Gets the collection id.
Declaration
protected static int GetCollectionId(IEnumerable<Type> collection)
Parameters
System.Collections.Generic.IEnumerable<System.Type>
collection
The collection. |
Returns
System.Int32
|