Class RevertTransactionResult
A revert transaction task result returned by the IServerTask. Holds the Core.IHeaderTransactionalEntity that was reverted by the revert transacition task ( Parameters.RevertTransactionParameter.UNIQUE_TASK_ID)
Inherited Members
Namespace: LemonEdge.API.Core.Tasks.Results
Assembly: LemonEdge.API.dll
Syntax
[DataContract]
public class RevertTransactionResult : ServerTaskResult, ICloneable, ICloneable<RevertTransactionResult>
Constructors
RevertTransactionResult()
Declaration
public RevertTransactionResult()
Properties
ID
The unique id of the Core.IHeaderTransactionalEntity that was reverted back to TransactionStatus.InProgress
Declaration
public Guid ID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Type
The type of the transactional entity that was reverted
Declaration
public Guid Type { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Methods
Clone()
Creates a new instance of this class (of type RevertTransactionResult) with all the same property values as this instance
Declaration
public RevertTransactionResult Clone()
Returns
Type | Description |
---|---|
RevertTransactionResult | 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(RevertTransactionResult)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(RevertTransactionResult source)
Parameters
Type | Name | Description |
---|---|---|
RevertTransactionResult | 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 |