Class ArrayDataType
Represents an array data type, i.e. a single-dimensional array with a data model type as the element type.
Inherited Members
Namespace: Nuqleon.DataModel.TypeSystem
Assembly: Nuqleon.DataModel.CompilerServices.dll
Syntax
public class ArrayDataType : DataType
Properties
ElementType
Gets the element type of the array.
Declaration
public DataType ElementType { get; }
Property Value
Type | Description |
---|---|
DataType |
Kind
Gets the kind of the data type.
Declaration
public override DataTypeKinds Kind { get; }
Property Value
Type | Description |
---|---|
DataTypeKinds |
Overrides
Methods
CreateInstance(Object[])
Creates a new instance of the array data type.
Declaration
public override object CreateInstance(params object[] arguments)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | arguments | Only one parameter can be specified, containing the size of the array. |
Returns
Type | Description |
---|---|
System.Object | Instance of the array data type. |
Overrides
GetList(Object)
Gets a list accessor over a value to conforms to the data type.
Declaration
public IList GetList(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Object to get a list accessor for. |
Returns
Type | Description |
---|---|
System.Collections.IList | List accessor over the given value. |