Mercurial > repos > IBBoard
diff Commands/Command.cs @ 0:961030992bd2
Initial commit of IBBoard libraries
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 19 Dec 2008 11:13:48 +0000 |
parents | |
children | 0352fa33ee8f |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Commands/Command.cs Fri Dec 19 11:13:48 2008 +0000 @@ -0,0 +1,22 @@ +using System; + +namespace IBBoard.Commands +{ + /// <summary> + /// Summary description for Command. + /// </summary> + public abstract class Command + { + public Command() + { + } + + public abstract bool CanExecute(); + public abstract bool Execute(); + public abstract void Undo(); + public abstract void Redo(); + public abstract string Name { get; } + public abstract string Description { get; } + public abstract string UndoDescription { get; } + } +}