Class StructuralDataType
Represents a structural type, i.e. a type with properties typed with data model types.
Inherited Members
Namespace: Nuqleon.DataModel.TypeSystem
Assembly: Nuqleon.DataModel.CompilerServices.dll
Syntax
public class StructuralDataType : DataType
Properties
Kind
Gets the kind of the data type.
Declaration
public override DataTypeKinds Kind { get; }
Property Value
Type | Description |
---|---|
DataTypeKinds |
Overrides
Properties
Gets the properties of the structural type.
Declaration
public ReadOnlyCollection<DataProperty> Properties { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<DataProperty> |
StructuralKind
Gets the structural data type kind.
Declaration
public StructuralDataTypeKinds StructuralKind { get; }
Property Value
Type | Description |
---|---|
StructuralDataTypeKinds |
Methods
CreateInstance(Object[])
Creates a new instance of the structural data type.
Declaration
public override object CreateInstance(params object[] arguments)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | arguments | The components of the value, in the order of property declaration. |
Returns
Type | Description |
---|---|
System.Object | Instance of the structural data type. |