Search Results for

    Show / Hide Table of Contents

    Class ResetSystemRolesHandler

    Inheritance
    object
    ResetSystemRolesHandler
    ResetSystemRolesHandler
    Implements
    IClientTaskResultHandler
    ITaskResultHandler
    Inherited Members
    ResetSystemRolesHandler.ProcessRawResult(ITaskRunner, ServerTaskParameter, object)
    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("D60A2AD9-C3DD-4FAF-BC44-1D2889565F83", ServerTaskResultType.Client)]
    public class ResetSystemRolesHandler : ResetSystemRolesHandler, IClientTaskResultHandler, ITaskResultHandler

    Constructors

    ResetSystemRolesHandler()

    Declaration
    public ResetSystemRolesHandler()

    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

    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

    ProcessResult(long, ServerTaskParameter, ResetSystemRolesResults, UserInfo)

    Provides the opportunity to handle the result. For this server implementation nothing is done

    A client override of this behaviour could take the results and prompt the user to perform a refresh all to load the changes into the system

    Declaration
    public override Task ProcessResult(long accountID, ServerTaskParameter parameter, ResetSystemRolesResults result, UserInfo user)
    Parameters
    Type Name Description
    long accountID

    The current account the task was running within

    ServerTaskParameter parameter

    The original ResetSystemRolesParameters the task was initialized with

    ResetSystemRolesResults result

    The result of the task process IServerTask.TaskResult

    UserInfo user

    The user the task was running under

    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    ResetSystemRolesHandler.ProcessResult(long, ServerTaskParameter, ResetSystemRolesResults, UserInfo)

    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.