public CuriousClass(IMessageService service, IObserved observed) { _service = service; _observed = observed; WeakEventManager <IObserved, AncientEventArgs> .AddHandler(observed, nameof(IObserved.AncientOne), this.ThereIsAnAncientOne); }
public void DelObserved(IObserved ob) { ObservedList.Remove(ob); }
public void setObservable(IObserved observable) { stream = observable; }
public void AddObserved(IObserved ob) { ObservedList.Add(ob); }