public void Register(IObserver observer) { lock (_observers) { _observers.Add(observer); } }
public void AttachObserver( ILzsObserver observer ) { ObserverList.Add( new WeakReference(observer) ); }
public override void addListener(VoidCallback listener) { didRegisterListener(); _listeners.Add(listener); }
public override void addStatusListener(AnimationStatusListener listener) { didRegisterListener(); _statusListeners.Add(listener); }