Search Results for

    Show / Hide Table of Contents

    Interface IClientTaskResultHandler

    Provides a mechanism for the client to process task results that can also interact with the client UI rather than just perform internal processing

    For instance the LemonEdge.API.Core.Tasks.Processors.ExportCSVTask task has a base handler that writes the results to a file, and a IClientTaskResultHandler that opens that file on the client application for the user to view.

    Inherited Members
    ITaskResultHandler.ProcessRawResult(ITaskRunner, ServerTaskParameter, object)
    Namespace: LemonEdge.Client.Core.Tasks
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public interface IClientTaskResultHandler : ITaskResultHandler

    Methods

    Init(IModelLayoutCommon)

    Initializes the handler with the host it is running within

    Declaration
    void Init(IModelLayoutCommon host)
    Parameters
    Type Name Description
    IModelLayoutCommon host

    The host this handler is running within

    ProcessResult(IServerTask, IServerTaskData)

    Provides the handler a mechanism for handling the result from the specified completed task.

    Declaration
    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

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.