Beispiel #1
0
        public GroovyExpressionState Serialize(StringBuilder stringBuilder, GroovyExpressionState state)
        {
            for (var i = 0; i < this._predicates.Length; i++)
            {
                state = i != 0
                    ? state.AppendMethod(stringBuilder, "or", this._predicates[i])
                    : this._predicates[i].Serialize(stringBuilder, state);
            }

            return(state);
        }
 public override GroovyExpressionState Serialize(StringBuilder stringBuilder, GroovyExpressionState state)
 {
     return(state.AppendMethod(stringBuilder, this.Name, this.Parameters));
 }