//中身を全てコピー internal AdvParamStruct Clone() { AdvParamStruct clone = new AdvParamStruct(); foreach (var item in Tbl) { AdvParamData param = new AdvParamData(); param.Copy(item.Value); clone.Tbl.Add(item.Key, param); } return(clone); }
internal AdvParamStruct Clone() { AdvParamStruct struct2 = new AdvParamStruct(); foreach (KeyValuePair <string, AdvParamData> pair in this.Tbl) { AdvParamData data = new AdvParamData(); data.Copy(pair.Value); struct2.Tbl.Add(pair.Key, data); } return(struct2); }