예제 #1
0
        public IEnumerator <StringPair> GetEnumerator()
        {
            foreach (string key in parent)
            {
                StringPair stringPair = new StringPair();
                stringPair.Key   = key;
                stringPair.Value = parent[key];

                yield return(stringPair);
            }
        }
예제 #2
0
 public void Add(StringPair item)
 {
     parent.Add(item.Key, item.Value);
 }