Eval-Expression.NET icon indicating copy to clipboard operation
Eval-Expression.NET copied to clipboard

C# Eval Expression | Evaluate, Compile, and Execute C# code and expression at runtime.

Results 16 Eval-Expression.NET issues
Sort by recently updated
recently updated
newest added

I'm trying to call `context.Execute()` on a method that requires a `Dictionary` to be passed in. When invoked, I received the following message: `No applicable member has been found for...

Hello, When I use execute against the following expression string on the expandoObject it works nicely, returns bool (true). However when I compile the expression and try to invoke the...

Execute the code below with `EvalManager.DefaultContext.Execute` ```csharp object handler = ""; if(handler is string) { // anything int a = 1; } else if (handler is Func) { (handler as...

The following statement will report an error. ```csharp using Newtonsoft.Json.Linq; static void Main(string[] args) { var context = new EvalContext(); context.RegisterType(typeof(JArray)); context.Execute(@"new JArray().Contains(""D"")"); } ``` The error is as follows...

Following code samples giving almost same error. Is there any way to fix this? Code - 1: ```csharp Z.Expressions.Eval.Execute(@"bool.TryParse(""false"", out bool value);"); ``` Error - 1: ``` Unhandled exception. Z.Expressions.Compiler.Shared.EvalException:...

Hey guys, I got everything running under .Net 4.x and then it turned out for M$ reasons the only way everything was going to work the way I wanted was...

For example Expression: "$cookingTimer == 0" throw exception: "zzz_SOMEGUIDer" expression is null.

Have a look at the following test cases ``` [TestMethod] [DataRow("#1", "a1", 1)] [DataRow("#2", "(a1)", 1)] [DataRow("#3", "(a1)+(a1)", 2)] [DataRow("#4", "(a1)+a1", 2)] [DataRow("#5", "(a1)-(a1)", 0)] [DataRow("#6", "(a1)-a1", 0)] public void...

We use the this framework to evaluate user-created formulas where values are replaced at runtime. I offer that explanation only to justify the hideous C# I'm about to post. The...

Hello, i am want to write complex script. How to debuging this code? i am want stepping throw code. Is it possible?