public Expression DeserializeText(string text, IExpressionContext context) { if (context == null) { throw new ArgumentNullException(nameof(context)); } var node = TextSerializer.Deserialize <ExpressionNode>(text); return(node == null ? null : node.ToExpression(context)); }
public Expression DeserializeText(string text) { var node = TextSerializer.Deserialize <ExpressionNode>(text); return(node == null ? null : node.ToExpression()); }