public override void Do(IOleUndoManager pUndoManager)
        {
#if DEBUGUNDOREDO
            Debug.WriteLine($@">>> ListValuedPropertyChangedRecord.Do (Property {PropertyName}, Value: {ArrayToString(Value)})");
#endif
            using (new ViewModel.ViewModelController.GuiChangeBlock(Controller))
            {
                ObjectModel.TrackableObject trackableObject = Controller.StateMachine.Find(Id);
                trackableObject?.SetProperty(PropertyName, Value);
            }
        }
Beispiel #2
0
 protected TrackableObjectRecord(ActionTypes actionType, ViewModel.ViewModelController controller, ObjectModel.TrackableObject trackableObject) : base(actionType, controller)
 {
     Id = trackableObject.Id;
 }