This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SyntaxTree tree = SyntaxTree.ParseText(code); | |
| var root = tree.GetRoot(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var engine = new ScriptEngine(); | |
| var session = engine.CreateSession(); | |
| var result = session.Execute("var x = 10; x == 20"); | |
| Console.WriteLine(result); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var engine = new ScriptEngine(); | |
| var session = engine.CreateSession(); | |
| var result = session.Execute("var x = 10; x"); | |
| Console.WriteLine(result); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (22:02:11) (frW) seesharp, var hexRepresentation = string.Join(" ", System.Text.Encoding.Default.GetBytes("me@home.com").Select(x => x.ToString("x").ToUpper())); return System.Text.Encoding.Default.GetBytes(hexRepresentation); | |
| (22:02:13) (seesharp) byte[32] { 54, 68, 32, 54, 53, 32, 52, 48, 32, 54, 56, 32, 54, 70, 32, 54, 68, 32, 54, 53, 32, 50, 69, 32, 54, 51, 32, 54, 70, 32, 54, 68 } | |
| (21:44:28) (frW) seesharp, Action f = null; f = () => { f(); f(); }; f(); return 1; | |
| (21:44:32) (seesharp) timeout |
NewerOlder