Hi,<div>I just try the clr.ImportExtensions(#namespace),It worked</div><div>Now I can use the DynamicDataDisplay to plot graph in IronPython as convenient as C#.</div><div>Thanks IronPython Team for providing such amazing product.</div>
<div><br></div><div>Regards,</div><div>Liu Zhenhai<br><br><div class="gmail_quote">2012/1/10 Jeff Hardy <span dir="ltr"><<a href="mailto:jdhardy@gmail.com">jdhardy@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The way to do it in 2.7 is to use e.g. clr.ImportExtensions(System.Linq).<br>
<br>
I'm not sure this is documented anywhere.<br>
<br>
- Jeff<br>
<div><div class="h5"><br>
On Mon, Jan 9, 2012 at 12:58 AM, ÁõÕñº£ <<a href="mailto:1989lzhh@gmail.com">1989lzhh@gmail.com</a>> wrote:<br>
> Hello everyone,<br>
><br>
> I follow<br>
> the <a href="http://blogs.msdn.com/b/saveenr/archive/2008/11/14/consuming-extension-methods-in-ironpython.aspx" target="_blank">http://blogs.msdn.com/b/saveenr/archive/2008/11/14/consuming-extension-methods-in-ironpython.aspx</a><br>
> but I did not find the ExtensionType in Microsoft.Scripting.dll in<br>
> ironpython fold.<br>
> It seems the ExtensionType is missing in the ironpython2.7.1, right?<br>
> I have to use the Extension method like<br>
> "extension_method(obj,args)",although I am OK with the style of writing.<br>
><br>
> Regards,<br>
> Liu Zhenhai<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Ironpython-users mailing list<br>
> <a href="mailto:Ironpython-users@python.org">Ironpython-users@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/ironpython-users" target="_blank">http://mail.python.org/mailman/listinfo/ironpython-users</a><br>
><br>
</blockquote></div><br></div>