On Mon, Mar 31, 2008 at 8:54 AM, Slide <[EMAIL PROTECTED]> wrote:
> I use the following for finding a class that implements a certain interface.
>
> [...]
>
> Is there a way that is more portable between the different languages?
It looks like the DLR doesn't try to abstract "classness". And given
I use the following for finding a class that implements a certain interface.
IAttributesCollection attrs =
IronPython.Runtime.Types.PythonModuleOps.Get__dict__(__main__);
foreach (KeyValuePair attr in attrs)
{
IronPython.Runtime.Types.PythonType
Awesome, thanks!
Curt Hagenlocher wrote:
On Sun, Mar 30, 2008 at 2:59 AM, Paul Turbett <[EMAIL PROTECTED]> wrote:
I've looked through the DLR hosting spec, and experimented a bit, but I
can't see how to get the same thing working with DLR hosting. So, how do
I create instances of python clas
On Sun, Mar 30, 2008 at 2:59 AM, Paul Turbett <[EMAIL PROTECTED]> wrote:
>
> I've looked through the DLR hosting spec, and experimented a bit, but I
> can't see how to get the same thing working with DLR hosting. So, how do
> I create instances of python classes from C#?
This is what works for me:
Hi,
I'm attempting to update an application framework that uses IP1.1 to use
IP2b1. In the framework, I create python objects that are derived from
C# classes, so I can bind to an interface at compile time. I do this
from C# by executing the .py file that defines the class, getting the
class a