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