Generated by DocFX

Interface IAutomationService

Automation service interface.

Namespace: ISynergy.Framework.Automations.Abstractions
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
Type Description
Task<ActionResult>
View Source

RefreshAutomationsAsync()

Gets all automations.

Declaration
Task RefreshAutomationsAsync()
Returns
Type Description
Task
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

Matrix.Replace<T>(T, Object, Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
EntityBaseExtensions.HasProperty(Object, String)
ArrayExtensions.Concatenate<T>(T, T[])
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>)
ObjectExtensions.Clone<T>(T)
ObjectExtensions.To<T>(Object)
ObjectExtensions.To(Object, Type)
ObjectExtensions.HasMethod(Object, String)
ObjectExtensions.AddressOf<T>(T)
ReflectionExtensions.GetIdentityValue<T>(T)
ReflectionExtensions.GetIdentityValue<T, TResult>(T)
ReflectionExtensions.GetIdentityProperty<T>(T)
ReflectionExtensions.HasIdentityProperty<T>(T)
ReflectionExtensions.GetPropertyValue<T, TResult>(T, String, TResult)
ReflectionExtensions.GetPropertyInfo<T, TValue>(T, Expression<Func<T, TValue>>)
ReflectionExtensions.GetTitleValue<T>(T)
ReflectionExtensions.HasParentIdentityProperty<T>(T)
ReflectionExtensions.GetParentIdentityProperty<T>(T)
ReflectionExtensions.IsFreeApplication<T>(T)