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
System.Object
ItemParameter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LemonEdge.API.Tasks.Parameters
Assembly: 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 |
---|---|
System.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 |
---|---|
System.String |
Methods
CopyFromParam(SerializedParam)
Declaration
protected override void CopyFromParam(SerializedParam source)
Parameters
Type | Name | Description |
---|---|---|
SerializedParam | source |
Overrides
OnPropChanged(String)
Declaration
protected void OnPropChanged(string propName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propName |
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged