private void DirtinessUpdated(object sender, DirtinessUpdatedEventArgs e) { var handler = ViewModelDirtinessUpdated; if (handler != null && nodeChangeList.Count > 0) { foreach (var nodeChange in nodeChangeList) { handler(this, new ObservableViewModelDirtinessUpdatedArgs(this, nodeChange)); } } nodeChangeList.Clear(); }
private void DependencyDirtinessUpdated(object sender, DirtinessUpdatedEventArgs e) { UpdateDirtiness(); }