C# Class Canguro.Commands.ModelCommand

Generic Model Command to group and provide services to all the commands that act upon the Model.
Inheritance: Canguro.Utility.GlobalizedObject, Command
Show file Open project: rforsbach/Treu-Structure

Private Properties

Property Type Description

Public Methods

Method Description
AllowCancel ( ) : bool

Returns true if a command allows cancelling. Can be overrided to disable Cancel.

Run ( Canguro services ) : void

Throws a NotImplementedException. Subclasses should always override this method.

Method Details

AllowCancel() public method

Returns true if a command allows cancelling. Can be overrided to disable Cancel.
public AllowCancel ( ) : bool
return bool

Run() public method

Throws a NotImplementedException. Subclasses should always override this method.
public Run ( Canguro services ) : void
services Canguro CommandServices object to interact with the system
return void