New to Telerik UI for WPFStart a free 30-day trial

Base class for persistence serialization and deserialization.

Definition

Namespace:Telerik.Windows.Persistence.Serialization

Assembly:Telerik.Windows.PersistenceFramework.dll

Syntax:

C#
public class SerializationBase

Inheritance: objectSerializationBase

Derived Classes: DeserializerSerializer

Constructors

Initializes a new instance of the SerializationBase class.

C#
public SerializationBase(PersistenceManager manager)
Parameters:managerPersistenceManager

The associated PersistenceManager instance.

Fields

Keeps the key for a serialized null object.

C#
protected const int NULLVALUEKEY = -1

Keeps the key for a serialized DependencyProperty.UnsetValue object.

C#
protected const int UNSETVALUEKEY = -2

Properties

Gets or sets the cached incompatible types.

C#
protected Dictionary<int, TypeInfo> CachedIncompatibleTypes { get; set; }
Property Value:

The cached incompatible types.

Gets or sets the cached type cache data.

C#
protected Dictionary<int, TypeCacheData> CachedTypeCacheData { get; set; }
Property Value:

The cached type cache data.

Gets or sets the cached types.

C#
protected Dictionary<int, TypeInfo> CachedTypes { get; set; }
Property Value:

The cached all types.

Gets or sets the known type converters.

C#
protected static Dictionary<int, string> KnownTypeConverters { get; set; }
Property Value:

The known type converters.

Gets or sets the manager.

C#
protected PersistenceManager Manager { get; set; }
Property Value:

The manager.

Gets or sets the primitives.

C#
protected Dictionary<int, PrimitiveValue> Primitives { get; set; }
Property Value:

The primitives.

Gets or sets the references.

C#
protected Dictionary<int, ReferenceValue> References { get; set; }
Property Value:

The references.

Gets or sets the traversed objects.

C#
protected Dictionary<int, object> TraversedObjects { get; set; }
Property Value:

The traversed objects.

Methods

Gets the collection id.

C#
protected static int GetCollectionId(IEnumerable<Type> collection)
Parameters:collectionIEnumerable<Type>

The collection.

Returns:

int