Exemplo n.º 1
0
 public void Dispose()
 {
     if (_parent != null)
     {
         _parent.RemoveSubscription(this);
         _parent = null;
     }
 }
Exemplo n.º 2
0
 public Subscription(KeyWatcher parent, IObserver <char> observer)
 {
     _parent  = parent;
     Observer = observer;
 }