internal void AddEmigrate(Person emigrate) { if (_emigratesGC.ContainsKey(emigrate.MyId)) { return; } var newEmig = new Emigrate(emigrate); _emigratesGC.Add(emigrate.MyId, newEmig); _emigrates.Add(newEmig); }
internal void RemoveEmigrate(Emigrate emigrate) { _emigratesGC.Remove(emigrate.MyId); _emigrates.Remove(emigrate); }