public Dictionary <string, FieldFormat.FieldType> GetBaseTypes() { Dictionary <string, FieldFormat.FieldType> dic = new Dictionary <string, FieldFormat.FieldType>(); foreach (FieldFormat.FieldType f in Enum.GetValues(typeof(FieldFormat.FieldType))) { if (f != FieldFormat.FieldType.Message && f != FieldFormat.FieldType.Enum && f != FieldFormat.FieldType.InValid) { dic.Add(FieldFormat.GetFieldTypeName(f), f); } } return(dic); }