// // // // // $Revision: 1965 $ // using System; namespace ICSharpCode.Core { /// /// A basic command interface. A command has simply an owner which "runs" the command /// and a Run method which invokes the command. /// public interface ICommand { /// /// Returns the owner of the command. /// object Owner { get; set; } /// /// Invokes the command. /// void Run(); /// /// Is called when the Owner property is changed. /// event EventHandler OwnerChanged; } }