开发者

.NET 4, how to execute dynamic vb code like windows workflow 4 does

Just curious how Windows Workflow 4 executes 开发者_如何学JAVAvb code. Can I use the same techique to execute vb.net code at run-time?


It's atually pretty specialized - before execution it compiles the VB code to an expression tree of activities in System.Activities.Expressions. I wouldn't recommend it as a way of executing general VB.net code.

You might find stuff about hosting DLR scripting languages such as IronPython interesting... I don't know if there's a similar hostable VB compiler available.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜