예제 #1
0
        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);
        }
예제 #2
0
        public override PrtValue Clone()
        {
            var clone = new PrtSeqValue();

            foreach (var val in elements)
            {
                clone.elements.Add(val.Clone());
            }
            return(clone);
        }