C# Class Nexus.Client.Commands.CheckedCommand

A command that has on and off states.
Inheritance: Command
Show file Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
CheckedCommand ( string p_strName, string p_strDescription, CommandExecuterMethod p_eehExecute ) : System.ComponentModel

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

CheckedCommand ( string p_strName, string p_strDescription, CommandExecuterMethod p_eehExecute, bool p_booCanExecute ) : System.ComponentModel

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

CheckedCommand ( string p_strName, string p_strDescription, bool p_booIsChecked, CommandExecuterMethod p_eehExecute ) : System.ComponentModel

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

CheckedCommand ( string p_strName, string p_strDescription, bool p_booIsChecked, CommandExecuterMethod p_eehExecute, bool p_booCanExecute ) : System.ComponentModel

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

CheckedCommand ( string p_strId, string p_strName, string p_strDescription, Image p_imgImage, CommandExecuterMethod p_eehExecute, bool p_booCanExecute ) : System.ComponentModel

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

CheckedCommand ( string p_strId, string p_strName, string p_strDescription, Image p_imgImage, bool p_booIsChecked, CommandExecuterMethod p_eehExecute, bool p_booCanExecute ) : System.ComponentModel

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

Method Details

CheckedCommand() public method

A simple constructor that initializes the object with the given values.
public CheckedCommand ( string p_strName, string p_strDescription, CommandExecuterMethod p_eehExecute ) : System.ComponentModel
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.
return System.ComponentModel

CheckedCommand() public method

A simple constructor that initializes the object with the given values.
public CheckedCommand ( string p_strName, string p_strDescription, CommandExecuterMethod p_eehExecute, bool p_booCanExecute ) : System.ComponentModel
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.
return System.ComponentModel

CheckedCommand() public method

A simple constructor that initializes the object with the given values.
public CheckedCommand ( string p_strName, string p_strDescription, bool p_booIsChecked, CommandExecuterMethod p_eehExecute ) : System.ComponentModel
p_strName string The name of the command.
p_strDescription string The description of the command.
p_booIsChecked bool Whether the command is checked.
p_eehExecute CommandExecuterMethod An that will be /// perform the command work.
return System.ComponentModel

CheckedCommand() public method

A simple constructor that initializes the object with the given values.
public CheckedCommand ( string p_strName, string p_strDescription, bool p_booIsChecked, CommandExecuterMethod p_eehExecute, bool p_booCanExecute ) : System.ComponentModel
p_strName string The name of the command.
p_strDescription string The description of the command.
p_booIsChecked bool Whether the command is checked.
p_eehExecute CommandExecuterMethod An that will be /// perform the command work.
p_booCanExecute bool Whether or not the command can be executed.
return System.ComponentModel

CheckedCommand() public method

A simple constructor that initializes the object with the given values.
public CheckedCommand ( string p_strId, string p_strName, string p_strDescription, Image p_imgImage, CommandExecuterMethod p_eehExecute, bool p_booCanExecute ) : System.ComponentModel
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 System.Drawing.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.
return System.ComponentModel

CheckedCommand() public method

A simple constructor that initializes the object with the given values.
public CheckedCommand ( string p_strId, string p_strName, string p_strDescription, Image p_imgImage, bool p_booIsChecked, CommandExecuterMethod p_eehExecute, bool p_booCanExecute ) : System.ComponentModel
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 System.Drawing.Image The image of the command.
p_booIsChecked bool Whether the command is checked.
p_eehExecute CommandExecuterMethod An that will be /// perform the command work.
p_booCanExecute bool Whether or not the command can be executed.
return System.ComponentModel