You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to try to evaluate this simple expression .
in this code I've added variable to VariableCollection variable name : "startDate" . variable value : null note : the type of Variable Collection (Dictionary) value is object
the issue : I got this exception System.ArgumentNullException: 'Value cannot be null. (Parameter 'value')'
ExpressionContext context = new ExpressionContext();
string expression = @"(startDate > ""2020-05-01""))";
var varaibles = context.Variables;
//Add variable with name startDate with null value
varaibles.Add("startDate",null);
var compile = context.CompileGeneric<bool>(expression);
var result = compile.Evaluate();
The text was updated successfully, but these errors were encountered:
I want to try to evaluate this simple expression .
in this code I've added variable to
VariableCollection
variable name : "startDate" .
variable value : null
note : the type of Variable Collection (Dictionary) value is object
the issue : I got this exception
System.ArgumentNullException: 'Value cannot be null. (Parameter 'value')'
The text was updated successfully, but these errors were encountered: