Class WatcherNotificationHandler
Inheritance
WatcherNotificationHandler
Inherited Members
Namespace: LemonEdge.Client.Core.Tasks
Assembly: LemonEdge.ClientEntities.dll
Syntax
[ServerTaskResult("12737356-A000-436B-8640-C18406499341", ServerTaskResultType.Client)]
public class WatcherNotificationHandler : OpenOrRefreshResultItem<TriggerActionResults>, IClientTaskResultHandler, ITaskResultHandler
Constructors
WatcherNotificationHandler()
Declaration
public WatcherNotificationHandler()
Methods
ConvertRawResultIntoResultType(ServerTaskParameter, object)
Must be implemented by a derived type to convert the raw task result into type TriggerActionResults
Declaration
protected override Task<TriggerActionResults> ConvertRawResultIntoResultType(ServerTaskParameter parameter, object rawResult)
Parameters
Type | Name | Description |
---|---|---|
ServerTaskParameter | parameter | The parameter that was used to run the task |
object | rawResult | The raw result of running the task |
Returns
Type | Description |
---|---|
Task<TriggerActionResults> | A conversion of the raw task result into type TriggerActionResults |
Overrides
GetItemsToOpenOrRefresh(TriggerActionResults)
Should be implemented by a derived type to retrieve the entity type/id for all items that must be opened or refreshed by this handler
You must override either the GetItemToOpenOrRefresh(T) or the GetItemsToOpenOrRefresh(T) method
Declaration
protected override IEnumerable<(Guid TypeID, Guid ID)> GetItemsToOpenOrRefresh(TriggerActionResults resultInfo)
Parameters
Type | Name | Description |
---|---|---|
TriggerActionResults | resultInfo | The result of the task that this is handling |
Returns
Type | Description |
---|---|
IEnumerable<(Guid TypeID, Guid ID)> | All entity type/id items that should be handled by this class |
Overrides
LemonEdge.Client.Core.Tasks.OpenOrRefreshResultItem<LemonEdge.API.Core.Tasks.Results.TriggerActionResults>.GetItemsToOpenOrRefresh(LemonEdge.API.Core.Tasks.Results.TriggerActionResults)