Show / Hide Table of Contents

Delegate WithExpression.Statement

Represents constructor of the expression body.

Namespace: DotNext.Linq.Expressions
Assembly: DotNext.Metaprogramming.dll
Syntax
public delegate Expression WithExpression.Statement(ParameterExpression scopeVar)
Parameters
Type Name Description
ParameterExpression scopeVar

The variable representing referred object or structure.

Returns
Type Description
Expression

The body of the expression.

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(ParameterExpression, AsyncCallback, object)

Declaration
public virtual IAsyncResult BeginInvoke(ParameterExpression scopeVar, AsyncCallback callback, object @object)
Parameters
Type Name Description
ParameterExpression scopeVar
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(ParameterExpression)

Declaration
public virtual Expression Invoke(ParameterExpression scopeVar)
Parameters
Type Name Description
ParameterExpression scopeVar
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
☀
☾