2007-08-06から1日間の記事一覧

C#とIronPython間のオブジェクトI/F

C#とIronPythonの間でオブジェクトの受け渡しは簡単に行う事ができる。 C#→IronPython(C#でオブジェクトを定義) //C#コード string str ; PythonEngine python_engine = new PythonEngine(); python_engine.Globals.Add("sss", str); // C#のオブジェクトを…