Serializer
Class
Serialization class.
Definition
Namespace:Telerik.Windows.Persistence.Serialization
Assembly:Telerik.Windows.PersistenceFramework.dll
Syntax:
C#
public class Serializer : SerializationBase, ISerializer
Inheritance: objectSerializationBaseSerializer
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the Serializer class.
C#
public Serializer(PersistenceManager manager)
The associated PersistenceManager instance.
Methods
Generates the property tree.
C#
protected virtual Collection<PropertyData> GeneratePropertyTree(object objectToSerialize, string path, ReferenceValue parentValue, PropertyData parentPropData, SerializationMetadataCollection options, bool shouldValidateCriteria, int nestingDepth)
The object to serialize.
pathstringThe path.
parentValueReferenceValueThe parent value.
parentPropDataPropertyDataThe parent prop data.
optionsSerializationMetadataCollectionThe options.
shouldValidateCriteriaboolIf set to true [should validate criteria].
The nesting depth.
Returns:Saves the property.
C#
protected virtual PropertyData SaveProperty(PropertyInfo property, string path, object obj, ReferenceValue parentValue, SerializationMetadataCollection options, bool shouldValidateCriteria, int nestingDepth, PropertyData parentPropData, MatchResult parentMatchResult)
The property.
pathstringThe path.
objobjectThe object.
parentValueReferenceValueThe parent value.
optionsSerializationMetadataCollectionThe options.
shouldValidateCriteriaboolIf set to true [should validate criteria].
The nesting depth.
parentPropDataPropertyDataThe parent prop data.
parentMatchResultMatchResultThe parent match result.
Returns: