Class TransferResultProcessorHandler
Inheritance
TransferResultProcessorHandler
Inherited Members
Namespace: LemonEdge.Client.Core.Tasks
Assembly: LemonEdge.ClientEntities.dll
Syntax
[ServerTaskResult("3f605df5-b5fb-4a0c-929e-c787a76ebfb9", ServerTaskResultType.Client)]
public class TransferResultProcessorHandler : OpenOrRefreshResultItem<TransferProcessResult>, IClientTaskResultHandler, ITaskResultHandler
Constructors
TransferResultProcessorHandler()
Declaration
public TransferResultProcessorHandler()
Methods
ConvertRawResultIntoResultType(ServerTaskParameter, object)
Must be implemented by a derived type to convert the raw task result into type TransferProcessResult
Declaration
protected override Task<TransferProcessResult> ConvertRawResultIntoResultType(ServerTaskParameter parameter, object rawResult)
Parameters
Type | Name | Description |
---|---|---|
ServerTaskParameter | parameter | The parameter that was used to run the task |
object | rawResult | The raw result of running the task |
Returns
Type | Description |
---|---|
Task<TransferProcessResult> | A conversion of the raw task result into type TransferProcessResult |
Overrides
GetItemToOpenOrRefresh(TransferProcessResult)
Should be implemented by a derived type to retrieve the entity type/id for a single item that must be opened or refreshed by this handler
You must override either the GetItemsToOpenOrRefresh(T) or the GetItemToOpenOrRefresh(T) method
Declaration
protected override (Guid TypeID, Guid ID) GetItemToOpenOrRefresh(TransferProcessResult resultInfo)
Parameters
Type | Name | Description |
---|---|---|
TransferProcessResult | resultInfo | The result of the task that this is handling |
Returns
Type | Description |
---|---|
(Guid TypeID, Guid ID) | The single entity type/id item that should be handled by this class |
Overrides
LemonEdge.Client.Core.Tasks.OpenOrRefreshResultItem<LemonEdge.API.Core.Tasks.Results.TransferProcessResult>.GetItemToOpenOrRefresh(LemonEdge.API.Core.Tasks.Results.TransferProcessResult)