Show / Hide Table of Contents

Delegate LockExpression.Statement

Represents constructor of synchronized block of code.

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

The variable representing monitor object.

Returns
Type Description
Expression

The body of synchronized block of code.

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 syncRoot, AsyncCallback callback, object @object)
Parameters
Type Name Description
ParameterExpression syncRoot
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 syncRoot)
Parameters
Type Name Description
ParameterExpression syncRoot
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
☀
☾