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