public Tree() { _depNodes = new Computed(delegate { _root.UpdateNodes(); }); _depNodes.Invalidated += () => UpdateScheduler.ScheduleUpdate(UpdateNow); }
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(); } }