private DataTypesFactory() { this.dataTypes = new Dictionary <string, DataType>(); this.dataTypes.Add(TypesKeyConstants.IntTypeKey, IntType.GetIntType()); this.dataTypes.Add(TypesKeyConstants.StringTypeKey, StringType.GetStringType()); this.dataTypes.Add(TypesKeyConstants.DoubleTypeKey, DoubleType.GetDoubleType()); }
public static DoubleType GetDoubleType() { if (doubleType == null) { doubleType = new DoubleType(); } return(doubleType); }