Interface IAutomationService
Automation service interface.
Assembly: ISynergy.Framework.Automations.dll
Syntax
public interface IAutomationService
Methods
View Source
ExecuteAsync(Automation, Object, CancellationTokenSource)
Starts executing the automation.
Declaration
Task<ActionResult> ExecuteAsync(Automation automation, object value, CancellationTokenSource cancellationTokenSource)
Parameters
Type |
Name |
Description |
Automation |
automation |
|
System.Object |
value |
|
CancellationTokenSource |
cancellationTokenSource |
|
Returns
View Source
RefreshAutomationsAsync()
Declaration
Task RefreshAutomationsAsync()
Returns
View Source
ValidateConditionsAsync(Automation, Object)
Validates the conditions of a given automation.
Declaration
Task<bool> ValidateConditionsAsync(Automation automation, object value)
Parameters
Type |
Name |
Description |
Automation |
automation |
|
System.Object |
value |
|
Returns
Type |
Description |
Task<System.Boolean> |
|
Extension Methods