Class CustomCommand
Generic carrier object for entity commands.
Carrier object for CustomCommand.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class CustomCommand : Carrier
Constructors
CustomCommand()
Default constructor
Declaration
public CustomCommand()
Properties
ActionData
The data to be used when the command is invoked
Declaration
public virtual string ActionData { get; set; }
Property Value
Type | Description |
---|---|
String |
Actions
The actions to call when invoked
Declaration
public virtual CommandAction Actions { get; set; }
Property Value
Type | Description |
---|---|
CommandAction |
Description
Description of the command.
Declaration
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
String |
DisplayName
The name to show in GUI
Declaration
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
String |
Name
Unique name of the command
Declaration
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
ToolTip
Tooltip to be used in the GUI
Declaration
public virtual string ToolTip { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
ToString(String)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
String | The carrier contents. |