Struct CommandBatch<T>.Enumerator
Walks a CommandBatch<T>.
public struct CommandBatch<T>.Enumerator
- Inherited Members
Properties
Current
The command at the cursor.
public readonly ref readonly ClientCommand<T> Current { get; }
Property Value
Remarks
A reference into the enumerator itself, so foreach (ref readonly var c in …) binds without a copy at the call site and stays valid exactly as
long as foreach keeps it — until the next step.
Methods
MoveNext()
Advances the cursor.
public bool MoveNext()