} //__SILP__ //__SILP__ public bool RemoveVarWatcher(IVarWatcher watcher) //__SILP__ { if (WeakListHelper.Remove(_VarWatchers, watcher)) //__SILP__ { return(true); //__SILP__ } //__SILP__ return(false); //__SILP__ } //__SILP__
} //__SILP__ //__SILP__ public bool AddVarWatcher(IVarWatcher watcher) //__SILP__ { if (WeakListHelper.Add(ref _VarWatchers, watcher)) //__SILP__ { CheckWatcherWrapper(); //__SILP__ return(true); //__SILP__ } //__SILP__ return(false); //__SILP__ } //__SILP__