IronPython调用Silverlight中的方法
var engine = Python.CreateEngine();
var scope = engine.CreateScope();
string strData="method";
var sourceCode = engine.CreateScriptSourceFromString(strData);
scope.SetVariable("method", (Action<string>)method);
sourceCode.Execute(scope);
调试异常显示,调用来自不受信任的程序集