2018-10-15 12:15:36 +00:00
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Flowsharp.Models;
|
|
|
|
|
|
2018-11-03 09:21:44 +00:00
|
|
|
namespace Flowsharp
|
2018-10-15 12:15:36 +00:00
|
|
|
{
|
|
|
|
|
public interface IExpressionEvaluator
|
|
|
|
|
{
|
|
|
|
|
string Syntax { get; }
|
|
|
|
|
Task<T> EvaluateAsync<T>(string expression, WorkflowExecutionContext workflowExecutionContext, CancellationToken cancellationToken);
|
|
|
|
|
}
|
|
|
|
|
}
|