C# Class numl.Model.Property

Concrete property. Used to convert any given data type to a number.
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.

Equals ( object obj ) : bool

Equality test

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/.

GetHashCode ( ) : int

Return hash

PostProcess ( IEnumerable examples ) : void

Used as a postprocessing step when overridden. Can be used to look at the entire data set as a whole after converting single elements.

PostProcess ( object example ) : void

Used as a postprocessing step when overriden. Can be used to look at the current object in question fater converting single elements.

PreProcess ( IEnumerable examples ) : void

Used as a preprocessing step when overridden. Can be used to look at the entire data set as a whole before converting single elements.

PreProcess ( object example ) : void

Used as a preprocessing step when overriden. Can be used to look at the current object in question before converting single elements.

Property ( ) : System

Default constructor.

ToString ( ) : string

Returns a string that represents the current object.

Method Details

Convert() public method

Convert an object to a list of numbers.
Thrown when the requested operation is invalid.
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

Equals() public method

Equality test
public Equals ( object obj ) : bool
obj object object to compare
return bool

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

GetHashCode() public method

Return hash
public GetHashCode ( ) : int
return int

PostProcess() public method

Used as a postprocessing step when overridden. Can be used to look at the entire data set as a whole after converting single elements.
public PostProcess ( IEnumerable examples ) : void
examples IEnumerable Examples.
return void

PostProcess() public method

Used as a postprocessing step when overriden. Can be used to look at the current object in question fater converting single elements.
public PostProcess ( object example ) : void
example object .
return void

PreProcess() public method

Used as a preprocessing step when overridden. Can be used to look at the entire data set as a whole before converting single elements.
public PreProcess ( IEnumerable examples ) : void
examples IEnumerable Examples.
return void

PreProcess() public method

Used as a preprocessing step when overriden. Can be used to look at the current object in question before converting single elements.
public PreProcess ( object example ) : void
example object Example.
return void

Property() public method

Default constructor.
public Property ( ) : System
return System

ToString() public method

Returns a string that represents the current object.
public ToString ( ) : string
return string