Last change
on this file since 13398 was
4068,
checked in by swagner, 14 years ago
|
Sorted usings and removed unused usings in entire solution (#1094)
|
File size:
917 bytes
|
Rev | Line | |
---|
[2768] | 1 |
|
---|
[4068] | 2 | namespace Netron.Diagramming.Core {
|
---|
| 3 | /// <summary>
|
---|
| 4 | /// CommandInfo is a class that is used as the
|
---|
| 5 | /// data type in the undo list and redo stack. It just stores
|
---|
| 6 | /// a reference to a command and an undo handler.
|
---|
| 7 | /// </summary>
|
---|
| 8 | public class CommandInfo {
|
---|
| 9 | private ICommand mCommand;
|
---|
| 10 | private IUndoSupport mHandler;
|
---|
[2768] | 11 |
|
---|
[4068] | 12 | /// <summary>
|
---|
| 13 | /// Gets or sets the command.
|
---|
| 14 | /// </summary>
|
---|
| 15 | /// <value>The command.</value>
|
---|
| 16 | public ICommand Command {
|
---|
| 17 | get { return mCommand; }
|
---|
| 18 | set { mCommand = value; }
|
---|
| 19 | }
|
---|
[2768] | 20 |
|
---|
[4068] | 21 | /// <summary>
|
---|
| 22 | /// The handler or parent of the undo command
|
---|
| 23 | /// </summary>
|
---|
| 24 | public IUndoSupport Handler {
|
---|
| 25 | get { return mHandler; }
|
---|
| 26 | set { mHandler = value; }
|
---|
| 27 | }
|
---|
[2768] | 28 |
|
---|
[4068] | 29 | /// <summary>
|
---|
| 30 | /// Initializes a new instance of the <see cref="T:CommandInfo"/> class.
|
---|
| 31 | /// </summary>
|
---|
| 32 | public CommandInfo() {
|
---|
| 33 | }
|
---|
| 34 | }
|
---|
[2768] | 35 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.