C# Class numl.Model.EnumerableProperty

Enumerable property. Expanded feature.
Inheritance: Property
Mostra file Open project: sethjuarez/numl Class Usage Examples

Public Methods

Method Description
Convert ( object o ) : IEnumerable

Convert an object to a list of numbers.

Convert ( double val ) : object

Convert the numeric representation back to the original type.

EnumerableProperty ( ) : System

Default constructor.

EnumerableProperty ( int length ) : System

Constructor.

GetColumns ( ) : IEnumerable

Retrieve the list of expanded columns. If there is a one-to-one correspondence between the type and its expansion it will return a single value/.

Method Details

Convert() public method

Convert an object to a list of numbers.
Thrown when an object cannot be cast to a required /// type.
public Convert ( object o ) : IEnumerable
o object Object.
return IEnumerable

Convert() public method

Convert the numeric representation back to the original type.
public Convert ( double val ) : object
val double .
return object

EnumerableProperty() public method

Default constructor.
public EnumerableProperty ( ) : System
return System

EnumerableProperty() public method

Constructor.
public EnumerableProperty ( int length ) : System
length int The length.
return System

GetColumns() public method

Retrieve the list of expanded columns. If there is a one-to-one correspondence between the type and its expansion it will return a single value/.
public GetColumns ( ) : IEnumerable
return IEnumerable