Show / Hide Table of Contents

Delegate WhileExpression.Statement

Represents constructor of the loop body.

Namespace: DotNext.Linq.Expressions
Assembly: DotNext.Metaprogramming.dll
Syntax
public delegate Expression WhileExpression.Statement(LabelTarget continueLabel, LabelTarget breakLabel)
Parameters
Type Name Description
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 loop body.

Constructors

View Source

Statement(object, nint)

Declaration
public Statement(object @object, nint method)
Parameters
Type Name Description
object object
nint method

Methods

View Source

BeginInvoke(LabelTarget, LabelTarget, AsyncCallback, object)

Declaration
public virtual IAsyncResult BeginInvoke(LabelTarget continueLabel, LabelTarget breakLabel, AsyncCallback callback, object @object)
Parameters
Type Name Description
LabelTarget continueLabel
LabelTarget breakLabel
AsyncCallback callback
object object
Returns
Type Description
IAsyncResult
View Source

EndInvoke(IAsyncResult)

Declaration
public virtual Expression EndInvoke(IAsyncResult result)
Parameters
Type Name Description
IAsyncResult result
Returns
Type Description
Expression
View Source

Invoke(LabelTarget, LabelTarget)

Declaration
public virtual Expression Invoke(LabelTarget continueLabel, LabelTarget breakLabel)
Parameters
Type Name Description
LabelTarget continueLabel
LabelTarget breakLabel
Returns
Type Description
Expression

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
DelegateHelpers.ChangeType<TDelegate>(Delegate)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾