Show / Hide Table of Contents

Class StructuralDataType

Represents a structural type, i.e. a type with properties typed with data model types.

Inheritance
System.Object
DataType
StructuralDataType
Inherited Members
DataType.Reduce()
DataType.ToString()
DataType.FromType(Type)
DataType.FromType(Type, Boolean)
DataType.TryFromType(Type, DataType)
DataType.TryFromType(Type, Boolean, DataType)
DataType.Check(Type)
DataType.Check(Type, Boolean)
DataType.TryCheck(Type, ReadOnlyCollection<DataTypeError>)
DataType.TryCheck(Type, Boolean, ReadOnlyCollection<DataTypeError>)
DataType.IsStructuralEntityDataType(Type)
DataType.IsEntityEnumDataType(Type)
DataType.CheckType(Object)
DataType.TryCheckType(Object)
DataType.UnderlyingType
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
DataType.Kind

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.

Overrides
DataType.CreateInstance(Object[])
In This Article
Back to top Generated by DocFX