} //TestNest::Reuse() public TestNest Copy(TestNest from_) { if (null == from_ || this == from_) { return this; } this.listDict.Clear(); this.listDict.AddRange(from_.listDict); this.dictList.Clear(); foreach (var dictListIter in from_.dictList) { this.dictList.Add(dictListIter.Key, dictListIter.Value); } this.list5d.Clear(); this.list5d.AddRange(from_.list5d); return this; } //TestNest::Copy(...)
public ConfigRoot SetNest(TestNest value) { this.nest = value; return this; }