Пример #1
0
 public bool ItExecutesStatements(string code, User data)
 {
     var execution = DaisyCompiler.Compile<User>(code, statements).Execute(data);
     Console.WriteLine(new DaisyTracePrinter(execution.DebugInfo.Trace).Print());
     return execution.Outcome;
 }
Пример #2
0
 public bool ItExecutesStatements(string code, User data)
 {
     var exec = DaisyCompiler.Compile<User>(code, statements).Execute(data);
     return exec.Outcome;
 }