public void addFiled(GatParamValueFromObjFun getParamfun, FieldPair filed) { FieldPairInfo info = new FieldPairInfo(); info.mGetParamFun = getParamfun; info.mFiled = filed; info.mIndex = mFields.Count; mFields.Add(info); mFiledMap[filed.name] = info; }
void _addField(FieldPair field) { mFiledNameToIndex[field.name] = mListFields.Count; mListFields.Add(field); }