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">&lt;<a href="mailto:jdhardy@gmail.com">jdhardy@gmail.com</a>&gt;</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&#39;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, ÁõÕñº£ &lt;<a href="mailto:1989lzhh@gmail.com">1989lzhh@gmail.com</a>&gt; wrote:<br>
&gt; Hello everyone,<br>
&gt;<br>
&gt; I follow<br>
&gt; the&nbsp;<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>

&gt; but I did not find the&nbsp;ExtensionType in Microsoft.Scripting.dll in<br>
&gt; ironpython fold.<br>
&gt; It seems the&nbsp;ExtensionType&nbsp;is missing in the ironpython2.7.1, right?<br>
&gt; I have to use the&nbsp;Extension method like<br>
&gt; &quot;extension_method(obj,args)&quot;,although I am OK with the style of writing.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Liu Zhenhai<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Ironpython-users mailing list<br>
&gt; <a href="mailto:Ironpython-users@python.org">Ironpython-users@python.org</a><br>
&gt; <a href="http://mail.python.org/mailman/listinfo/ironpython-users" target="_blank">http://mail.python.org/mailman/listinfo/ironpython-users</a><br>
&gt;<br>
</blockquote></div><br></div>