예제 #1
0
        private void SetChange(T value, TrackableSetOperation operation)
        {
            var hasChangedBefore = HasChange;

            ChangeMap[value] = operation;

            if (HasChangeSet != null && hasChangedBefore == false)
            {
                HasChangeSet(this);
            }
        }
예제 #2
0
 public bool GetChange(T value, out TrackableSetOperation operation)
 {
     return(ChangeMap.TryGetValue(value, out operation));
 }