public void Init() { FileName = RawFileName.ToBigCamel(); StructName = GlobalVal.StructNamePrefix + FileName; ClsName = GlobalVal.ClassNamePrefix + FileName; KeyType2FuncName = GlobalVal.CSVType2FuncName(KeyTypeName); KeyTypeName = GlobalVal.CSVType2CodeType(KeyTypeName); }
public string AttriType2FuncName; //CSV中属性到方法的映射 参考Type2FuncNameMap public void Init() { AttriType2FuncName = GlobalVal.CSVType2FuncName(AttriTypeName); AttriTypePrefix = GlobalVal.CSVType2AttrPrefix(AttriTypeName); AttriTypePostfix = GlobalVal.CSVType2AttrPostfix(AttriTypeName); AttriName = AttriTypePrefix + (GlobalVal.IsKeepRawAttrName ? AttriName : AttriName.ToBigCamel()); AttriTypeName = GlobalVal.CSVType2CodeType(AttriTypeName); }
public string AttriType2FuncName; //CSV中属性到方法的映射 参考Type2FuncNameMap public void Init() { AttriType2FuncName = GlobalVal.CSVType2FuncName(AttriTypeName); AttriTypeName = GlobalVal.CSVType2CodeType(AttriTypeName); }