开发者

C# Script version of PyBinding for WPF

开发者 https://www.devze.com 2022-12-29 20:17 出处:网络
I wrote a CSharpScriptBinding roughly equivalent to the PyBi开发者_如何学Gonding on CodePlex.It uses the C# script engine from http://www.csscript.net.

I wrote a CSharpScriptBinding roughly equivalent to the PyBi开发者_如何学Gonding on CodePlex. It uses the C# script engine from http://www.csscript.net.

After I wrote it, I kind of decided it might not really be something good to use. Although it caches the compiled script code as an already compiled Assembly, my concern is that I will have one temporary Assembly created each time I use the binding. Will this add up to a problem in the future? If so, maybe there is a way in the C# script engine that I don't know about to optimize this further...? Any thoughts to confirm my suspicion that this was just a bad idea (but useful excersise in learning more about bindings and converters)?


Ask them if they use the DLR? Without it, I wouldn't trust it.

0

精彩评论

暂无评论...
验证码 换一张
取 消