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); } }
protected TrackableObjectRecord(ActionTypes actionType, ViewModel.ViewModelController controller, ObjectModel.TrackableObject trackableObject) : base(actionType, controller) { Id = trackableObject.Id; }