Example #1
0
 /// <summary> 判断是否是基本数据类型 并获取该类型 | If it is a base data type then get it </summary>
 public static bool TryGetBaseType(string type, out LBBaseType baseType)
 {
     if (baseTypeShortNameDict.TryGetValue(type, out baseType))
     {
         return(true);
     }
     if (baseTypeNameDict.TryGetValue(type, out baseType))
     {
         return(true);
     }
     return(false);
 }
Example #2
0
 public void InitBaseType(LBBaseType baseType)
 {
     IsBaseType = true;
     BaseType   = baseType;
 }