Show / Hide Table of Contents

Class Property

Concrete property. Used to convert any given data type to a number.

Inheritance
System.Object
Property
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace:numl.Model
Assembly:numl.dll
Syntax
public class Property

Constructors

View Source

Property()

Default constructor.

Declaration
public Property()

Properties

View Source

Discrete

Discrete or continuous value.

Declaration
public virtual bool Discrete { get; set; }
Property Value
Type Description
System.Boolean

true if discrete, false if not.

View Source

Length

Length of property.

Declaration
public virtual int Length { get; set; }
Property Value
Type Description
System.Int32

The length.

View Source

Name

Property Name - Maps to object property or dictionary lookup.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

The name.

View Source

Start

Start position in array.

Declaration
public int Start { get; set; }
Property Value
Type Description
System.Int32

The start.

View Source

Type

Type of property.

Declaration
public virtual Type Type { get; set; }
Property Value
Type Description
System.Type

The type.

Methods

View Source

Convert(Double)

Convert the numeric representation back to the original type.

Declaration
public virtual object Convert(double val)
Parameters
Type Name Description
System.Double val

.

Returns
Type Description
System.Object

An object.

View Source

Convert(Object)

Convert an object to a list of numbers.

Declaration
public virtual IEnumerable<double> Convert(object o)
Parameters
Type Name Description
System.Object o

Object.

Returns
Type Description
System.Collections.Generic.IEnumerable<System.Double>

Lazy list of doubles.

Exceptions
Type Condition
System.InvalidOperationException

Thrown when the requested operation is invalid.

View Source

Equals(Object)

Equality test

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

object to compare

Returns
Type Description
System.Boolean

equality

Overrides
System.Object.Equals(System.Object)
View Source

GetColumns()

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

Declaration
public virtual IEnumerable<string> GetColumns()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

An enumerator that allows foreach to be used to process the columns in this collection.

View Source

GetHashCode()

Return hash

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

hash

Overrides
System.Object.GetHashCode()
View Source

PostProcess(IEnumerable<Object>)

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

Declaration
public virtual void PostProcess(IEnumerable<object> examples)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Object> examples

Examples.

View Source

PostProcess(Object)

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

Declaration
public virtual void PostProcess(object example)
Parameters
Type Name Description
System.Object example

.

View Source

PreProcess(IEnumerable<Object>)

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

Declaration
public virtual void PreProcess(IEnumerable<object> examples)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Object> examples

Examples.

View Source

PreProcess(Object)

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

Declaration
public virtual void PreProcess(object example)
Parameters
Type Name Description
System.Object example

Example.

View Source

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
System.String

A string that represents the current object.

Overrides
System.Object.ToString()
  • View Source
©2017 — Seth Juarez
numl v0.9.20-beta
MIT License
docs by docfx