3 writes to observer
System.Data.Services.Client (3)
System\Data\Services\Client\Binding\DataServiceCollectionOfT.cs (3)
252this.observer = value; 511this.observer = null; 685this.observer = new BindingObserver(context, entityChanged, collectionChanged);
11 references to observer
System.Data.Services.Client (11)
System\Data\Services\Client\Binding\DataServiceCollectionOfT.cs (11)
245return this.observer; 261get { return this.observer != null; } 479Debug.Assert(this.observer.Context != null, "Must have valid context when the collection is being observed."); 482this.observer.DetachBehavior = true; 487this.observer.DetachBehavior = false; 510this.observer.StopTracking(); 643if (this.observer.Context == null) 648this.observer.AttachBehavior = true; 659this.observer.AttachBehavior = false; 677Debug.Assert(this.observer == null, "Must have no observer which implies Initialize should only be called once."); 687this.observer.StartTracking(this, entitySet);