Delegate ForEachExpression.Statement
Represents constructor of iteration over collection elements.
Namespace: DotNext.Linq.Expressions
Assembly: DotNext.Metaprogramming.dll
Syntax
public delegate Expression ForEachExpression.Statement(MemberExpression current, LabelTarget continueLabel, LabelTarget breakLabel)
Parameters
Type | Name | Description |
---|---|---|
MemberExpression | current | An expression representing current collection item in the iteration. |
LabelTarget | continueLabel | A label that can be used to produce Continue(LabelTarget) expression. |
LabelTarget | breakLabel | A label that can be used to produce Break(LabelTarget) expression. |
Returns
Type | Description |
---|---|
Expression | The constructed loop body. |