PropertyNameMetadata
Represents a serialization metadata for property names and paths.
Definition
Namespace:Telerik.Windows.Persistence.SerializationMetadata
Assembly:Telerik.Windows.PersistenceFramework.dll
Syntax:
public class PropertyNameMetadata : ISerializationMetadata
Inheritance: objectPropertyNameMetadata
Implements:
Constructors
public PropertyNameMetadata()
Properties
Gets or sets a value indicating whether this property is included or excluded from the serialization.
public SerializationMetadataCondition Condition { get; set; }
The condition.
Gets or sets the expression that will be used as a base for a Regex that will match properties based on the SearchType.
public string Expression { get; set; }
Gets or sets a value indicating whether this instance is recursive.
public bool IsRecursive { get; set; }
True if this instance is recursive; otherwise, false.
Gets or sets a value indicating whether the search is based on the property name or a property path.
public MetadataSearchCriteria SearchType { get; set; }
The type of the search.
Methods
Determines whether a property should be serialized based on the current settings.
public MatchResult ShouldSerialize(PropertyInfo property, string propertyPath)
The property to evaluate.
propertyPathstringThe property path to evaluate.
Returns:Implements: