public string GetType(OdcmType type) { if (type.IsComplex()) { return(type.IsSystem() ? type.GetTypeString() : type.GetTypeString() + " *"); } return(type.GetTypeString()); }
public string GetParamString(OdcmType p) { p.GetFullType(); //if(p == null) return string.Empty; if (p.IsComplex()) { return(p.IsSystem() ? string.Empty : p.GetTypeString() + " *" + p.Name.ToLowerFirstChar()); } return(p.GetTypeString() + " " + p.Name); }
public static bool IsPrimitive(this OdcmType type) { return(!type.IsComplex()); }