如何嵌入IronPython的在.NET应用程序 [英] How to embed IronPython in a .NET application

查看:143
本文介绍了如何嵌入IronPython的在.NET应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能通过嵌入的脚本语言,像IronPython的暴露在.NET应用程序的API?

Is it possible to expose an API in a .NET application by embedding a scripting language like IronPython?

它是如何做?

推荐答案

IronPython的有一个托管API,它可以被用来从C#\ VB应用程序中执行IronPython的脚本。

IronPython has a hosting API which can be used to execute IronPython scripts from a C#\VB application.

是里面的一个WinForms嵌入IronPython的一个很好的例子app.Note该托管的API,因为该职位已经改变。 这个帖子展示了一个例子最新的API

This is a good example of embedding IronPython inside a winforms app.Note that the hosting APIs have changed since that post. This post shows an example of the latest API

您可以找到最新的规格这里 [注:URL抛出404为2010-09-07]

You can find the latest specs here [Note: URL throws a 404 as of 2010-09-07]

这篇关于如何嵌入IronPython的在.NET应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆