Exemplo n.º 1
0
 private void Hinzufuegen(Historie tmp)
 {
     if (tmp != null)
     {
         _dict.Add(tmp.LogID, tmp);
         HistorieHinzugefuegt?.Invoke(tmp, EventArgs.Empty);
     }
 }
Exemplo n.º 2
0
 public static bool Entfernen(ref Historie tmp)
 {
     if (_dict.Remove(tmp.LogID))
     {
         HistorieEntfernt?.Invoke(tmp, EventArgs.Empty);
         tmp = null;
         return(true);
     }
     return(false);
 }