Beispiel #1
0
 public void Append(GeneralStorage <TKey, TElement> r2)
 {
     foreach (var key in r2.resources.Keys)
     {
         this[key] += r2[key];
     }
 }
Beispiel #2
0
 public GeneralStorage(GeneralStorage <TKey, TElement> s)
 {
     foreach (var key in s.resources.Keys)
     {
         this[key] = s[key];
     }
 }