Class CustomCommand
Generic carrier object for entity commands.
Carrier object for CustomCommand.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class CustomCommand : Carrier
Constructors
CustomCommand()
Default constructor
Declaration
public CustomCommand()
Properties
ActionData
The data to be used when the command is invoked
Declaration
[DataMember]
public virtual string ActionData { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Actions
The actions to call when invoked
Declaration
[DataMember]
public virtual CommandAction Actions { get; set; }
Property Value
| Type | Description |
|---|---|
| CommandAction |
Description
Description of the command.
Declaration
[DataMember]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
The name to show in GUI
Declaration
[DataMember]
public virtual string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Unique name of the command
Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ToolTip
Tooltip to be used in the GUI
Declaration
[DataMember]
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. |