Exemplo n.º 1
0
    internal void AddEmigrate(Person emigrate)
    {
        if (_emigratesGC.ContainsKey(emigrate.MyId))
        {
            return;
        }

        var newEmig = new Emigrate(emigrate);

        _emigratesGC.Add(emigrate.MyId, newEmig);
        _emigrates.Add(newEmig);
    }
Exemplo n.º 2
0
 internal void RemoveEmigrate(Emigrate emigrate)
 {
     _emigratesGC.Remove(emigrate.MyId);
     _emigrates.Remove(emigrate);
 }