Share via


FunctionUtils.ValidateOrder(Expression, ReturnType[], ReturnType[]) Method

Definition

Validate the number and type of arguments to a function.

public static void ValidateOrder (AdaptiveExpressions.Expression expression, AdaptiveExpressions.ReturnType[] optional, params AdaptiveExpressions.ReturnType[] types);
static member ValidateOrder : AdaptiveExpressions.Expression * AdaptiveExpressions.ReturnType[] * AdaptiveExpressions.ReturnType[] -> unit
Public Shared Sub ValidateOrder (expression As Expression, optional As ReturnType(), ParamArray types As ReturnType())

Parameters

expression
Expression

Expression to validate.

optional
ReturnType[]

Optional types in order.

types
ReturnType[]

Expected types in order.

Applies to