Class
SerializationBase

Base class for persistence serialization and deserialization.

Definition

Namespace:Telerik.Windows.Persistence.Serialization

Assembly:Telerik.Windows.PersistenceFramework.dll

Syntax:

cs-api-definition
public class SerializationBase

Inheritance: objectSerializationBase

Derived Classes: DeserializerSerializer

Constructors

SerializationBase(PersistenceManager)

Initializes a new instance of the SerializationBase class.

Declaration

cs-api-definition
public SerializationBase(PersistenceManager manager)

Parameters

manager

PersistenceManager

The associated PersistenceManager instance.

Fields

NULLVALUEKEY

Keeps the key for a serialized null object.

Declaration

cs-api-definition
protected const int NULLVALUEKEY = -1

Field Value

int

UNSETVALUEKEY

Keeps the key for a serialized DependencyProperty.UnsetValue object.

Declaration

cs-api-definition
protected const int UNSETVALUEKEY = -2

Field Value

int

Properties

CachedIncompatibleTypes

Gets or sets the cached incompatible types.

Declaration

cs-api-definition
protected Dictionary<int, TypeInfo> CachedIncompatibleTypes { get; set; }

Property Value

Dictionary<int, TypeInfo>

The cached incompatible types.

CachedTypeCacheData

Gets or sets the cached type cache data.

Declaration

cs-api-definition
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

cs-api-definition
protected Dictionary<int, TypeInfo> CachedTypes { get; set; }

Property Value

Dictionary<int, TypeInfo>

The cached all types.

KnownTypeConverters

Gets or sets the known type converters.

Declaration

cs-api-definition
protected static Dictionary<int, string> KnownTypeConverters { get; set; }

Property Value

Dictionary<int, string>

The known type converters.

Manager

Gets or sets the manager.

Declaration

cs-api-definition
protected PersistenceManager Manager { get; set; }

Property Value

PersistenceManager

The manager.

Primitives

Gets or sets the primitives.

Declaration

cs-api-definition
protected Dictionary<int, PrimitiveValue> Primitives { get; set; }

Property Value

Dictionary<int, PrimitiveValue>

The primitives.

References

Gets or sets the references.

Declaration

cs-api-definition
protected Dictionary<int, ReferenceValue> References { get; set; }

Property Value

Dictionary<int, ReferenceValue>

The references.

TraversedObjects

Gets or sets the traversed objects.

Declaration

cs-api-definition
protected Dictionary<int, object> TraversedObjects { get; set; }

Property Value

Dictionary<int, object>

The traversed objects.

Methods

GetCollectionId(IEnumerable<Type>)

Gets the collection id.

Declaration

cs-api-definition
protected static int GetCollectionId(IEnumerable<Type> collection)

Parameters

collection

IEnumerable<Type>

The collection.

Returns

int