public PrtSeqValue Values() { var seqValues = new PrtSeqValue(); foreach (var k in keyToValueMap.Keys.OrderBy(x => x.keyIndex)) { seqValues.elements.Add(keyToValueMap[k].Clone()); } return(seqValues); }
public override PrtValue Clone() { var clone = new PrtSeqValue(); foreach (var val in elements) { clone.elements.Add(val.Clone()); } return(clone); }