2using System.Collections;
3using System.Threading.Tasks;
18 private readonly
int count;
30 this.e = ItemEnumerator;
31 this.columns = Columns;
33 this.count = this.columns?.Length ?? 0;
62 if (!await this.e.MoveNextAsync())
66 object Item = this.e.Current;
69 if (this.properties is
null)
74 if (this.columns is
null)
78 this.record =
new IElement[this.count];
80 for (i = 0; i < this.count; i++)
84 this.record[i] = await this.columns[i].EvaluateAsync(this.properties);
Static class managing the application event log. Applications and services log events on this static ...
static Exception UnnestException(Exception Exception)
Unnests an exception, to extract the relevant inner exception.
Base class for all types of elements.
abstract object AssociatedObjectValue
Associated object value.
Class managing a script expression.
static IElement Encapsulate(object Value)
Encapsulates an object.
Base class for all nodes in a parsed script tree.
Enumerator that limits the return set to a maximum number of records.
object Current
IEnumerator.Current
virtual async Task< bool > MoveNextAsync()
Advances the enumerator to the next element of the collection.
RecordEnumerator(IResultSetEnumerator ItemEnumerator, ScriptNode[] Columns, Variables Variables)
Enumerator that limits the return set to a maximum number of records.
IElement[] CurrentRecord
Current record
virtual bool MoveNext()
IEnumerator.MoveNext
virtual void Reset()
IEnumerator.Reset
Basic interface for all types of elements.
Interface for result-set enumerators.