Class BlendProcessParameter
The server task parameters for the blend transaction calculation process
Inherits from the transaction item server task parameter which records the id and label of the IBlendTransaction this task should be calculated against
Inheritance
Inherited Members
Namespace: LemonEdge.API.Core.FinancialServices.Tasks.Parameters
Assembly: LemonEdge.API.Core.FinancialServices.dll
Syntax
[DataContract]
public class BlendProcessParameter : TransactionItemParameter, ICloneable, INotifyPropertyChanged, ICloneable<BlendProcessParameter>
Constructors
BlendProcessParameter()
Creates a new blend transaction server task process parameter
Declaration
public BlendProcessParameter()
BlendProcessParameter(IBaseEntity)
Creates a new blend transaction server task process parameter for the specified blended transaction
Declaration
public BlendProcessParameter(IBaseEntity item)
Parameters
Type | Name | Description |
---|---|---|
IBaseEntity | item | An IBlendTransaction this parameter will make the task run against |
Fields
UNIQUE_TASK_ID
The unique id of the blend transaction calculation server task
Declaration
public const string UNIQUE_TASK_ID = "ef63cb08-4561-41a4-a8ea-6acab0cd1809"
Field Value
Type | Description |
---|---|
string |
Methods
Clone()
Creates a new instance of this class (of type BlendProcessParameter) with all the same property values as this instance
Declaration
public BlendProcessParameter Clone()
Returns
Type | Description |
---|---|
BlendProcessParameter | A new instance of this class with all the same property values as this instance |
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()
CopyFromSource(BlendProcessParameter)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(BlendProcessParameter source)
Parameters
Type | Name | Description |
---|---|---|
BlendProcessParameter | source | The source object to copy all values from. |
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
GetUserFriendlyTaskInstanceIdentityInfo(IServerTask)
Returns that this is a blend transaction recalculation task against the specified blended transaction
Declaration
public override string GetUserFriendlyTaskInstanceIdentityInfo(IServerTask task)
Parameters
Type | Name | Description |
---|---|---|
IServerTask | task | The server task for processing the blended transaction |
Returns
Type | Description |
---|---|
string | A string stating that this is a blended transaction recalculation task against the specified blended transaction |