Class EnumerableProperty
Enumerable property. Expanded feature.
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 EnumerableProperty : Property
Constructors
View SourceEnumerableProperty()
Default constructor.
Declaration
public EnumerableProperty()
EnumerableProperty(Int32)
Constructor.
Declaration
public EnumerableProperty(int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | length | The length. |
Properties
View SourceLength
Length of property.
Declaration
public override int Length { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The length. |
Overrides
Methods
View SourceConvert(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
View SourceConvert(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
Exceptions
Type | Condition |
---|---|
System.InvalidCastException | Thrown when an object cannot be cast to a required type. |
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. |