Esempio n. 1
0
 internal void Apply(SubVariable <T> blueprint)
 {
     foreach (KeyValuePair <int, T> pair in blueprint)
     {
         Add(pair.Key, pair.Value);
     }
 }
Esempio n. 2
0
        internal SubVariable <T> Clone()
        {
            SubVariable <T> clone = new SubVariable <T>();

            foreach (KeyValuePair <int, T> pair in this)
            {
                clone.Add(pair.Key, pair.Value);
            }
            return(clone);
        }