view Commands/Command.cs @ 14:25b953087465

* Rename DictionaryToArrayConverter to DictionaryUtils * Add method to merge arrays no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sun, 25 Jan 2009 11:03:38 +0000
parents 961030992bd2
children 0352fa33ee8f
line wrap: on
line source

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; }
	}
}