private void SetChange(T value, TrackableSetOperation operation) { var hasChangedBefore = HasChange; ChangeMap[value] = operation; if (HasChangeSet != null && hasChangedBefore == false) { HasChangeSet(this); } }
public bool GetChange(T value, out TrackableSetOperation operation) { return(ChangeMap.TryGetValue(value, out operation)); }