Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Presentation.Commands.DisabledCommand Class Reference

This class represents a command that is always disabled and does nothing when executed. More...

Inheritance diagram for SiliconStudio.Presentation.Commands.DisabledCommand:
SiliconStudio.Presentation.Commands.ICommandBase

Public Member Functions

bool CanExecute (object parameter)
 
void Execute (object parameter)
 
void Execute ()
 Executes the command with a null parameter. More...
 

Properties

static DisabledCommand Instance [get, set]
 Gets a singleton instance of the DisabledCommand More...
 
bool IsEnabled [get, set]
 
EventHandler CanExecuteChanged
 
- Properties inherited from SiliconStudio.Presentation.Commands.ICommandBase
bool IsEnabled [get, set]
 Indicates whether the command can be executed or not. More...
 

Detailed Description

This class represents a command that is always disabled and does nothing when executed.

This class is a singleton, you can access to the instance via the static property Instance.

Definition at line 11 of file DisabledCommand.cs.

Member Function Documentation

bool SiliconStudio.Presentation.Commands.DisabledCommand.CanExecute ( object  parameter)

Definition at line 41 of file DisabledCommand.cs.

void SiliconStudio.Presentation.Commands.DisabledCommand.Execute ( object  parameter)

Definition at line 47 of file DisabledCommand.cs.

void SiliconStudio.Presentation.Commands.DisabledCommand.Execute ( )

Executes the command with a null parameter.

Implements SiliconStudio.Presentation.Commands.ICommandBase.

Definition at line 53 of file DisabledCommand.cs.

Property Documentation

EventHandler SiliconStudio.Presentation.Commands.DisabledCommand.CanExecuteChanged
addremove

Definition at line 35 of file DisabledCommand.cs.

DisabledCommand SiliconStudio.Presentation.Commands.DisabledCommand.Instance
staticgetset

Gets a singleton instance of the DisabledCommand

Definition at line 21 of file DisabledCommand.cs.

bool SiliconStudio.Presentation.Commands.DisabledCommand.IsEnabled
getset

Definition at line 31 of file DisabledCommand.cs.


The documentation for this class was generated from the following file: