Inheritance: System.EventArgs
Esempio n. 1
0
 private void OnTreeUpdateCompleted(object sender, TreeUpdatedEventArgs e)
 {
     if (e.UpdateType == TreeUpdateType.NewTree)
     {
         StopValidation();
         StartValidationNextIdle();
     }
 }
Esempio n. 2
0
 private void OnTreeUpdateCompleted(object sender, TreeUpdatedEventArgs e) {
     if (IsEnabled && (e.UpdateType != TreeUpdateType.PositionsOnly || (_sections != null && _sections.Changed))) {
         BackgroundTask.DoTaskOnIdle();
     }
 }
Esempio n. 3
0
 private void OnUpdateCompleted(object sender, TreeUpdatedEventArgs e) {
     if (_nodesPendingRemoval.Count > 0) {
         if (Interlocked.CompareExchange(ref _taskRunning, 1, 0) == 0) {
             Task.Run(() => ProcessPendingNodeRemoval());
         }
     }
 }