C# (CSharp) GuiLabs.Undo ActionManager - 12 exemples trouvés. Ce sont les exemples réels les mieux notés de GuiLabs.Undo.ActionManager extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
Action Manager is a central class for the Undo Framework. Your domain model (business objects) will have an ActionManager reference that would take care of executing actions. Here's how it works: 1. You declare a class that implements IAction 2. You create an instance of it and give it all necessary info that it needs to know to apply or rollback a change 3. You call ActionManager.RecordAction(yourAction) Then you can also call ActionManager.Undo() or ActionManager.Redo()