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