Search Results for

    Show / Hide Table of Contents

    Class UpgradeDatabaseResultProcessor

    Inheritance
    object
    UpgradeDatabaseResultProcessor
    Implements
    IClientTaskResultHandler
    ITaskResultHandler
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Tasks
    Assembly: LemonEdge.ClientEntities.dll
    Syntax
    [ServerTaskResult("0B63C444-1127-4631-805D-3ADA803F0288", ServerTaskResultType.Client)]
    public class UpgradeDatabaseResultProcessor : IClientTaskResultHandler, ITaskResultHandler

    Constructors

    UpgradeDatabaseResultProcessor(IConnectionUpgraderNotifier)

    Declaration
    public UpgradeDatabaseResultProcessor(IConnectionUpgraderNotifier upgraderNotifier)
    Parameters
    Type Name Description
    IConnectionUpgraderNotifier upgraderNotifier

    Properties

    Displayer

    Declaration
    public IModelLayoutCommon Displayer { get; }
    Property Value
    Type Description
    IModelLayoutCommon

    Methods

    ConvertRawResultIntoResult(ServerTaskParameter, object)

    Declaration
    protected Task<ServerTaskResult> ConvertRawResultIntoResult(ServerTaskParameter parameter, object rawResult)
    Parameters
    Type Name Description
    ServerTaskParameter parameter
    object rawResult
    Returns
    Type Description
    Task<ServerTaskResult>

    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

    Implements

    IClientTaskResultHandler
    ITaskResultHandler

    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.