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());
 }
Ejemplo n.º 2
0
 public static DoubleType GetDoubleType()
 {
     if (doubleType == null)
     {
         doubleType = new DoubleType();
     }
     return(doubleType);
 }