Beispiel #1
0
 public Tree()
 {
     _depNodes = new Computed(delegate
     {
         _root.UpdateNodes();
     });
     _depNodes.Invalidated += () => UpdateScheduler.ScheduleUpdate(UpdateNow);
 }
Beispiel #2
0
 public Tree()
 {
     _depNodes = new Dependent(delegate
     {
         _root.UpdateNodes();
     });
     _depNodes.Invalidated += () => UpdateScheduler.ScheduleUpdate(this);
 }
 public override void UpdateNodes()
 {
     using (NotificationGate.BeginOutbound())
     {
         _depProperty.OnGet();
     }
     if (_child != null)
     {
         _child.UpdateNodes();
     }
 }