Class ResetSystemRolesHandler
Inherited Members
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 |