public string ReplaceExpressionValues(string data, object dataObject, string template = "\\[=([^\\]]+)\\]")
 {
     return(ExpressionEngine.ReplaceExpressionValues(data, dataObject, template));
 }
 public string Eval(string expression)
 {
     return(ExpressionEngine.Eval(expression));
 }
 public T Eval <T>(string expression, object dataObject, T defaultValue = default(T))
 {
     return(ExpressionEngine.Eval(expression, dataObject, defaultValue));
 }
 public ExpressionService(IAutomationDao automationDao, IEntityService entityService)
 {
     _automationDao = automationDao;
     ExpressionEngine.RegisterFunction("Call", CallFunction);
     EntityAccessor.EntityService = entityService;
 }