Hi,

For a custom IronPython REPL I want to “inject” some CLR extensions.
Until now we are doing the standard:
“””
import clr, System
clr.AddReference(“System.Core”)
clr.ImportExtensions(System.Linq)
“””
But I would like to avoid it. Although I know how to AddReference to 
System.Core from C#
and to get the Python Language Context I couldn’t find a way to call 
ImportExtensions from the Console.cs.

Any help will be appreciated.

Hernán M. Foffani

_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to