DynamicProperty Class

Abstract base class for classes that represent a dynamic property of CsvMapping.

Definition

Namespace: FolkerKinzel.CsvTools.Mappings
Assembly: FolkerKinzel.CsvTools.Mappings (in FolkerKinzel.CsvTools.Mappings.dll) Version: 1.1.0+1263e8243dc2cd78095f678f813d7d9c52ea4315
C#
public abstract class DynamicProperty : ICloneable, 
	IDynamicProperty
Inheritance
Object    DynamicProperty
Implements
IDynamicProperty, ICloneable

Remarks

Use CsvMappingBuilder to create and add instances to CsvMapping.

Constructors

DynamicProperty(DynamicProperty) Copy constructor.
DynamicProperty(String) Initializes a new DynamicProperty instance.

Properties

CsvColumnIndexes Gets the column indexes of the CSV file that the DynamicProperty accesses.
CsvColumnNames Gets the column names of the columns of the CSV file that the DynamicProperty accesses.
DefaultValue Gets the value that the DynamicProperty returns if parsing fails.
PropertyName Identifier of the dynamic property.
Record The CsvRecord object used to access the CSV file.
Value Gets or sets the value of the dynamic property.

Methods

CloneCreates a new object that is a copy of the current instance.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

AsITypedPropertyT Casts a DynamicProperty to a ITypedPropertyT in order to have type safe access to its Value without having to use dynamic .NET properties ("late binding").
(Defined by DynamicPropertyExtension)

Thread Safety

Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.

See Also