Class AnySingleCommandParam
The command parameters for the menu command that can open an instance of any single item in the system
Used by the ViewItem command
Inherited Members
Namespace: LemonEdge.API.Client.Commands
Assembly: LemonEdge.API.dll
Syntax
[DataContract]
public class AnySingleCommandParam : CommandSerializedParam, ICloneable, ICloneable<CommandSerializedParam>, INotifyPropertyChanged
Constructors
AnySingleCommandParam()
Declaration
public AnySingleCommandParam()
Properties
CustomLayout
When the item is opened, it can be displayed using the default layout for the user/team, or the id of a specific custom layout can be specified here
Declaration
public string CustomLayout { get; set; }
Property Value
Type | Description |
---|---|
string |
EntityID
The unique id of the actual instance of the entity (of type EntityTypeID) to open
Declaration
public Guid EntityID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
EntityIDFormula
The formula that determines the unique id of the item
Declaration
public string EntityIDFormula { get; set; }
Property Value
Type | Description |
---|---|
string |
EntityID_Label
If this entity type has a label field defined (LabelColumn ) then this holds the actual value of that field for the entity to be opened
Declaration
public string EntityID_Label { get; set; }
Property Value
Type | Description |
---|---|
string |
EntityTypeID
The unique global id of the entity type to open
Declaration
public Guid EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Methods
CopyFromParam(SerializedParam)
Should be overridden by inheriting implementations to ensure all parameters values are copied from the specified
source
Declaration
protected override void CopyFromParam(SerializedParam source)
Parameters
Type | Name | Description |
---|---|---|
SerializedParam | source | The source instance of a SerializedParam that is of the same type as this one to copy parameter values from |
Overrides
Remarks
Used by the generic implementation of Clone()
CreateNewParam()
Must be implemented by inheriting classes to provide a new instance of the current class type.
Used when cloning this SerializedParam to create a new instance of the same type
Declaration
protected override SerializedParam CreateNewParam()
Returns
Type | Description |
---|---|
SerializedParam | A new instance of the current SerializedParam type |
Overrides
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
PropertyChangedEventHandler |