Delegate UsingExpression.Statement
Represents constructor of using expression.
Assembly: DotNext.Metaprogramming.dll
Syntax
public delegate Expression UsingExpression.Statement(ParameterExpression resource)
Parameters
| Type |
Name |
Description |
| ParameterExpression |
resource |
The variable representing disposable resource.
|
Returns
| Type |
Description |
| Expression |
Body of using expression.
|
Constructors
View Source
Statement(object, nint)
Declaration
public Statement(object @object, nint method)
Parameters
Methods
View Source
BeginInvoke(ParameterExpression, AsyncCallback, object)
Declaration
public virtual IAsyncResult BeginInvoke(ParameterExpression resource, AsyncCallback callback, object @object)
Parameters
Returns
View Source
EndInvoke(IAsyncResult)
Declaration
public virtual Expression EndInvoke(IAsyncResult result)
Parameters
Returns
View Source
Invoke(ParameterExpression)
Declaration
public virtual Expression Invoke(ParameterExpression resource)
Parameters
Returns
Extension Methods