[]
Creates a new expression representing a function applied to a list of parameters.
public FunctionExpression(string functionName, Expression[] args)
Public Sub New(functionName As String, args As Expression())
| Type | Name | Description |
|---|---|---|
| string | functionName | Function name |
| Expression[] | args | List of parameters |
| Type | Condition |
|---|---|
| ArgumentNullException | functionName or args is a null reference (Nothing in Visual Basic) |
Creates a new expression representing a function applied to a list of parameters.
public FunctionExpression(FunctionInfo functionInfo, Expression[] args)
Public Sub New(functionInfo As FunctionInfo, args As Expression())
| Type | Name | Description |
|---|---|---|
| FunctionInfo | functionInfo | Function |
| Expression[] | args | List of parameters |
| Type | Condition |
|---|---|
| ArgumentNullException | functionInfo or args is a null reference (Nothing in Visual Basic) |
| ArgumentException | functionInfo does not accept the number of parameters found in args |