public void Add(IDisposable disposable) { lock (listLock) { disposables.Add(disposable); } if (eventThreadCallback != null) { eventThreadCallback.Trigger(); } }