2using System.Collections;
3using System.Collections.Generic;
4using System.Threading.Tasks;
16 private readonly KeyValuePair<string, ScriptNode>[] additionalFields;
20 private object current =
null;
30 this.e = ItemEnumerator;
32 this.additionalFields = AdditionalFields;
56 if (!await this.e.MoveNextAsync())
59 this.current = this.e.Current;
61 if (this.objectVariables is
null)
64 this.objectVariables.Object = this.e.Current;
68 foreach (KeyValuePair<string, ScriptNode> P
in this.additionalFields)
69 GenObj[P.Key] = P.Value.Evaluate(this.objectVariables);
73 foreach (KeyValuePair<string, ScriptNode> P
in this.additionalFields)
74 GroupObj[P.Key] = P.Value.Evaluate(this.objectVariables);
80 foreach (KeyValuePair<string, ScriptNode> P
in this.additionalFields)
81 Obj[P.Key] = P.Value.Evaluate(this.objectVariables);
Generic object. Contains a sequence of properties.
Base class for all nodes in a parsed script tree.
Enumerator that adds fields to enumerated items.
async Task< bool > MoveNextAsync()
Advances the enumerator to the next element of the collection.
void Reset()
IEnumerator.Reset
FieldAggregatorEnumerator(IResultSetEnumerator ItemEnumerator, Variables Variables, KeyValuePair< string, ScriptNode >[] AdditionalFields)
Enumerator that adds fields to enumerated items.
bool MoveNext()
IEnumerator.MoveNext
object Current
IEnumerator.Current
Represents a collection of objects grouped together useing a GROUP BY construct.
Interface for result-set enumerators.