Delegate RefFunc<T, TArgs, TResult>
Represents delegate that accepts arbitrary value by reference and support return value.
Namespace: DotNext
Assembly: DotNext.dll
Syntax
public delegate TResult RefFunc<T, in TArgs, out TResult>(ref T reference, TArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| T | reference | The object passed by reference. |
| TArgs | args | The action arguments. |
Returns
| Type | Description |
|---|---|
| TResult | The return value of the method that this delegate encapsulates. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the object to be passed by reference into the action. |
| TArgs | The type of the arguments to be passed into the action. |
| TResult | The type of the return value of the method that this delegate encapsulates. |