Class ItemParameter
A base server task parameter class that can be inherited by server tasks that process algorithms against entities in the system
This allows the selection of the entity in the system for the task to run against
Inheritance
Inherited Members
Namespace: LemonEdge.API.Core.Tasks.Parameters
Assembly: LemonEdge.API.dll
Syntax
[DataContract]
public abstract class ItemParameter : ServerTaskParameter, ICloneable, INotifyPropertyChanged
Constructors
ItemParameter()
Creates a new item parameter server task process parameter
Declaration
public ItemParameter()
ItemParameter(IBaseEntity)
Creates a new item server task process parameter for the item
Declaration
public ItemParameter(IBaseEntity item)
Parameters
Type | Name | Description |
---|---|---|
IBaseEntity | item | An item this parameter will make the task run against |
Properties
ID
The id of an item in the system that should be used as a parameter to running the server task
Declaration
public Guid ID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
ID_Label
The label of an item in the system that should be used as a parameter to running the server task
Declaration
public string ID_Label { get; set; }
Property Value
Type | Description |
---|---|
string |
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()
OnPropChanged(string)
Declaration
protected void OnPropChanged(string propName)
Parameters
Type | Name | Description |
---|---|---|
string | propName |
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
PropertyChangedEventHandler |