C# Class LumenWorks.Framework.IO.Csv.CsvPropertyDescriptor

Represents a CSV field property descriptor.
Inheritance: System.ComponentModel.PropertyDescriptor
Mostra file Open project: phatcher/CsvReader Class Usage Examples

Public Methods

Method Description
CanResetValue ( object component ) : bool
CsvPropertyDescriptor ( string fieldName, int index ) : System

Initializes a new instance of the CsvPropertyDescriptor class.

GetValue ( object component ) : object
ResetValue ( object component ) : void
SetValue ( object component, object value ) : void
ShouldSerializeValue ( object component ) : bool

Method Details

CanResetValue() public method

public CanResetValue ( object component ) : bool
component object
return bool

CsvPropertyDescriptor() public method

Initializes a new instance of the CsvPropertyDescriptor class.
public CsvPropertyDescriptor ( string fieldName, int index ) : System
fieldName string The field name.
index int The field index.
return System

GetValue() public method

public GetValue ( object component ) : object
component object
return object

ResetValue() public method

public ResetValue ( object component ) : void
component object
return void

SetValue() public method

public SetValue ( object component, object value ) : void
component object
value object
return void

ShouldSerializeValue() public method

public ShouldSerializeValue ( object component ) : bool
component object
return bool