Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Core/Interfaces/ICommand.cs @ 4068

Last change on this file since 4068 was 4068, checked in by swagner, 14 years ago

Sorted usings and removed unused usings in entire solution (#1094)

File size: 684 bytes
Line 
1
2namespace Netron.Diagramming.Core {
3  /// <summary>
4  /// ICommand is an interface for undo/redo support that is
5  /// implemented by the <see cref="Command"/> class.
6  /// </summary>
7  public interface ICommand {
8    /// <summary>
9    /// Executes the action corresponding to an undo
10    /// </summary>
11    void Undo();
12    /// <summary>
13    /// Executes the actual action or equivalently the redo in case it had been undone
14    /// </summary>
15    void Redo();
16    /// <summary>
17    /// A description of the action
18    /// </summary>
19    /// <remarks>The text can be used in an undo list or undo stack description</remarks>
20    string Text { get; set; }
21  }
22}
Note: See TracBrowser for help on using the repository browser.