Class ReconciliationResultProcessorHandler
Inherited Members
Namespace: LemonEdge.Client.Core.Tasks
Assembly: LemonEdge.ClientEntities.dll
Syntax
[ServerTaskResult("129FB535-6DFE-4D9D-9F0E-8959158822F0", ServerTaskResultType.Client)]
public class ReconciliationResultProcessorHandler : IClientTaskResultHandler, ITaskResultHandler
Constructors
ReconciliationResultProcessorHandler()
Declaration
public ReconciliationResultProcessorHandler()
Properties
Displayer
Declaration
public IModelLayoutCommon Displayer { get; }
Property Value
Type | Description |
---|---|
IModelLayoutCommon |
Methods
Init(IModelLayoutCommon)
Initializes the handler with the host it is running within
Declaration
public void Init(IModelLayoutCommon host)
Parameters
Type | Name | Description |
---|---|---|
IModelLayoutCommon | host | The host this handler is running within |
ProcessRawResult(ITaskRunner, ServerTaskParameter, object)
Processes the result from an appropriate ProcessTask(CancellationToken) function call for the task this implementation is marked as handling with the ServerTaskResultAttribute
Declaration
public Task<ServerTaskResult> ProcessRawResult(ITaskRunner runner, ServerTaskParameter parameter, object result)
Parameters
Type | Name | Description |
---|---|---|
ITaskRunner | runner | The task runner this task has been running in |
ServerTaskParameter | parameter | The initial parameter the task was run with |
object | result | The result returned from processing the task |
Returns
Type | Description |
---|---|
Task<ServerTaskResult> | A conversion from the result of the ProcessTask(CancellationToken) call to a ServerTaskResult to allow clients to interact with the result from tasks running on services |
ProcessResult(IServerTask, IServerTaskData)
Provides the handler a mechanism for handling the result from the specified completed task.
Declaration
public Task ProcessResult(IServerTask task, IServerTaskData data)
Parameters
Type | Name | Description |
---|---|---|
IServerTask | task | A task that has completed its processing and stored its results in IServerTask.TaskResult |
IServerTaskData | data | The data for the task result |
Returns
Type | Description |
---|---|
Task | A task indicating the completion of the operation |