Class
PropertyTypeMetadata

Represents a serialization metadata for property types.

Definition

Namespace:Telerik.Windows.Persistence.SerializationMetadata

Assembly:Telerik.Windows.PersistenceFramework.dll

Syntax:

cs-api-definition
public class PropertyTypeMetadata : ISerializationMetadata

Inheritance: objectPropertyTypeMetadata

Implements: ISerializationMetadata

Constructors

PropertyTypeMetadata()

Declaration

cs-api-definition
public PropertyTypeMetadata()

Properties

AllowSubClasses

Gets or sets a value indicating whether [allow sub classes].

Declaration

cs-api-definition
public bool AllowSubClasses { get; set; }

Property Value

bool

True if [allow sub classes]; otherwise, false.

Condition

Gets or sets the condition.

Declaration

cs-api-definition
public SerializationMetadataCondition Condition { get; set; }

Property Value

SerializationMetadataCondition

The condition.

IsRecursive

Gets or sets a value indicating whether this instance is recursive.

Declaration

cs-api-definition
public bool IsRecursive { get; set; }

Property Value

bool

True if this instance is recursive; otherwise, false.

Type

Gets or sets the type.

Declaration

cs-api-definition
public Type Type { get; set; }

Property Value

Type

The type.

TypeString

Gets or sets the type string.

Declaration

cs-api-definition
public string TypeString { get; set; }

Property Value

string

The type string.

Methods

ShouldSerialize(PropertyInfo, string)

Should serialize.

Declaration

cs-api-definition
public MatchResult ShouldSerialize(PropertyInfo property, string propertyPath)

Parameters

property

PropertyInfo

The property.

propertyPath

string

The property path.

Returns

MatchResult

Implements ISerializationMetadata.ShouldSerialize(PropertyInfo, string)