提交 53922160 编写于 作者: K Kasey Uhlenhuth

Updated Scripting API Samples (markdown)

上级 868a1fa5
......@@ -75,7 +75,7 @@ var script = CSharpScript.Create<int>("X*Y", globalsType: typeof(Globals));
script.Compile();
for (int i = 0; i < 10; i++)
{
Console.WriteLine(await script.EvaluateAsync(new Globals { X = i, Y = i }));
Console.WriteLine(await script.RunAsync(new Globals { X = i, Y = i }));
}
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册