Show / Hide Table of Contents

Class PrimitiveDataType

Represents a primitive data type, i.e. a type treated as an atom by the data model.

Inheritance
System.Object
DataType
PrimitiveDataType
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 PrimitiveDataType : DataType

Properties

IsNullable

Indicates whether the type has a null value.

Declaration
public bool IsNullable { get; }
Property Value
Type Description
System.Boolean

Kind

Gets the kind of the data type.

Declaration
public override DataTypeKinds Kind { get; }
Property Value
Type Description
DataTypeKinds
Overrides
DataType.Kind

PrimitiveKind

Gets the primitive data type kind.

Declaration
public PrimitiveDataTypeKinds PrimitiveKind { get; }
Property Value
Type Description
PrimitiveDataTypeKinds

Methods

CreateInstance(Object[])

Creates a new instance of the primitive 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 value.

Returns
Type Description
System.Object

Instance of the primitive data type.

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