Show / Hide Table of Contents

Class EnumerableProperty

Enumerable property. Expanded feature.

Inheritance
System.Object
Property
EnumerableProperty
Inherited Members
Property.Name
Property.Type
Property.Start
Property.Discrete
Property.PreProcess(IEnumerable<Object>)
Property.PreProcess(Object)
Property.PostProcess(IEnumerable<Object>)
Property.PostProcess(Object)
Property.ToString()
Property.Equals(Object)
Property.GetHashCode()
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 EnumerableProperty : Property

Constructors

View Source

EnumerableProperty()

Default constructor.

Declaration
public EnumerableProperty()
View Source

EnumerableProperty(Int32)

Constructor.

Declaration
public EnumerableProperty(int length)
Parameters
Type Name Description
System.Int32 length

The length.

Properties

View Source

Length

Length of property.

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

The length.

Overrides
Property.Length

Methods

View Source

Convert(Double)

Convert the numeric representation back to the original type.

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

.

Returns
Type Description
System.Object

An object.

Overrides
Property.Convert(Double)
View Source

Convert(Object)

Convert an object to a list of numbers.

Declaration
public override 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.

Overrides
Property.Convert(Object)
Exceptions
Type Condition
System.InvalidCastException

Thrown when an object cannot be cast to a required type.

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

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