C# Класс Nexus.Client.Commands.Command

The base class for commands.
Наследование: CommandBase
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
ExecuteMethod CommandExecuterMethod

Открытые методы

Метод Описание
Command ( string p_strName, string p_strDescription, CommandExecuterMethod p_eehExecute ) : System

A simple constructor that initializes the object with the given values.

Command ( string p_strName, string p_strDescription, CommandExecuterMethod p_eehExecute, bool p_booCanExecute ) : System

A simple constructor that initializes the object with the given values.

Command ( string p_strId, string p_strName, string p_strDescription, Image p_imgImage, CommandExecuterMethod p_eehExecute, bool p_booCanExecute ) : System

A simple constructor that initializes the object with the given values.

Execute ( ) : void

Executes the command.

Описание методов

Command() публичный Метод

A simple constructor that initializes the object with the given values.
public Command ( string p_strName, string p_strDescription, CommandExecuterMethod p_eehExecute ) : System
p_strName string The name of the command.
p_strDescription string The description of the command.
p_eehExecute CommandExecuterMethod An that will be /// perform the command work.
Результат System

Command() публичный Метод

A simple constructor that initializes the object with the given values.
public Command ( string p_strName, string p_strDescription, CommandExecuterMethod p_eehExecute, bool p_booCanExecute ) : System
p_strName string The name of the command.
p_strDescription string The description of the command.
p_eehExecute CommandExecuterMethod An that will be /// perform the command work.
p_booCanExecute bool Whether or not the command can be executed.
Результат System

Command() публичный Метод

A simple constructor that initializes the object with the given values.
public Command ( string p_strId, string p_strName, string p_strDescription, Image p_imgImage, CommandExecuterMethod p_eehExecute, bool p_booCanExecute ) : System
p_strId string The id of the command
p_strName string The name of the command.
p_strDescription string The description of the command.
p_imgImage Image The image of the command.
p_eehExecute CommandExecuterMethod An that will be /// perform the command work.
p_booCanExecute bool Whether or not the command can be executed.
Результат System

Execute() публичный Метод

Executes the command.
public Execute ( ) : void
Результат void

Описание свойств

ExecuteMethod защищенное свойство

The method that executes the command.
protected CommandExecuterMethod ExecuteMethod
Результат CommandExecuterMethod