public string Evaluate(ExpressionEvaluationContext ctx) { if (query_.Evaluate(ctx) == "0") { return(string.Empty); } else { return(value_.Evaluate(ctx)); } }
public string Evaluate(ExpressionEvaluationContext ctx) { if (query_.Evaluate(ctx) == ctx.Configuration) { return("1"); } else { return("0"); } }
public string Evaluate(ExpressionEvaluationContext ctx) { return((conditions_.Select((c) => c.Evaluate(ctx)).All((c) => c == "1")) ? "1" : "0"); }
public string Evaluate(ExpressionEvaluationContext ctx) { return(Expressions.Select(e => e.Evaluate(ctx)).Aggregate(new StringBuilder(), (sb, s) => sb.Append(s), (sb) => sb.ToString())); }
public string Evaluate(ExpressionEvaluationContext ctx) { return(Value); }