namespace Netron.Diagramming.Core {
///
/// Interface that your application classes can implement
/// in order to perform the actual undo/redo functionality.
///
public interface IUndoSupport {
///
/// Undo of the last action
///
/// Calling this on a class level will call the Undo method of the last ICommand in the stack.
void Undo();
///
/// Performs the actual action or redo in case the actions was undoe before
///
/// Calling this on a class level will call the Redo method of the last ICommand in the stack.
void Redo();
}
}