public void Subscribe(IObersver obersver) { if (!observers.Contains(obersver)) { observers.Add(obersver); } }
public void Unsubscribe(IObersver obersver) { observers.Remove(obersver); obersver = null; }