Skip to content

DataTypeList class

Represents a list of DataType values.

public class EasyData.DataTypeList
: Collection<DataType>

Package: EasyData.Core (targets: netstandard2.0)

Assembly: EasyData.Core.dll

NameTypeDescription
DataTypeList(DataType[] typeList)voidInitializes a new instance of the DataTypeList class.
DataTypeList(string listStr)voidInitializes a new instance of the DataTypeList class.
DataTypeList()voidInitializes a new instance of the DataTypeList class.
NameTypeDescription
CommaTextstringGets or sets the text representation of type list delimited with the comma.
NameTypeDescription
AddRange(IEnumerable<DataType> types)voidAdds the type stored in an IEnumerable to the end of the list.
InsertItem(int index, DataType item)voidInserts an element into the System.Collections.ObjectModel.Collection'1 at the specified index.
InsertRange(int index, IEnumerable<DataType> types)voidInserts the types stored in an IEnumerable object into the list starting from specified index.
NameTypeDescription
BoolDataTypesDataTypeListThe list which represents the most common data types
CommonDataTypesDataTypeListThe list which represents the most common data types
FloatDataTypesDataTypeListThe list which represents all float data types
IntegerDataTypesDataTypeListThe list which represents all integer-like data types (numeric and boolean)
RangeDataTypesDataTypeListThe list which represents all ranged data types (numeric and boolean)
StringDataTypesDataTypeListThe list which represents all string data types (numeric and boolean)
TimeDataTypesDataTypeListThe list which represents all string data types (numeric and boolean)