Re: [IronPython] Modules in hosted enviroment

2010-06-23 Thread Ross Hammermeister
From: "Dino Viehland" Sent: Wednesday, June 23, 2010 12:35 PM To: "Discussion of IronPython" Subject: Re: [IronPython] Modules in hosted enviroment Are you trying to get rid of the "foo.Bar" or do you want the user to be typi

Re: [IronPython] Modules in hosted enviroment

2010-06-23 Thread Dino Viehland
] On Behalf Of Ross Hammermeister > Sent: Wednesday, June 23, 2010 9:27 AM > To: Discussion of IronPython > Subject: Re: [IronPython] Modules in hosted enviroment > > This is almost what I want but I to pass and instance of a class(no static > methods) and have python treat it as if it

Re: [IronPython] Modules in hosted enviroment

2010-06-23 Thread Ross Hammermeister
other methods indicated. Thanks for the help -- From: "Dino Viehland" Sent: Tuesday, June 22, 2010 6:56 PM To: "Discussion of IronPython" Subject: Re: [IronPython] Modules in hosted enviroment Jeff wrote: Hi Ross, It so

Re: [IronPython] Modules in hosted enviroment

2010-06-22 Thread Dino Viehland
Jeff wrote: > Hi Ross, > It sounds like you want Dino's suggestion IAttributesCollection, which > will give you much more flexibility. I've never done that, but it > looks fairly straightforward. > > > An unrelated issue I have with ScriptScope is I can't figure out to add > > overloaded functions

Re: [IronPython] Modules in hosted enviroment

2010-06-22 Thread Jeff Hardy
Hi Ross, It sounds like you want Dino's suggestion IAttributesCollection, which will give you much more flexibility. I've never done that, but it looks fairly straightforward. > An unrelated issue I have with ScriptScope is I can't figure out to add > overloaded functions with different parameter

Re: [IronPython] Modules in hosted enviroment

2010-06-22 Thread Ross Hammermeister
it matters. Thanks Ross -- From: "Jeff Hardy" Sent: Tuesday, June 22, 2010 11:26 AM To: "Discussion of IronPython" Subject: Re: [IronPython] Modules in hosted enviroment Hi Ross, Sorry if I'm being dense, but here's how I unders

Re: [IronPython] Modules in hosted enviroment

2010-06-22 Thread Dino Viehland
s are being generated dynamically. > -Original Message- > From: users-boun...@lists.ironpython.com [mailto:users- > boun...@lists.ironpython.com] On Behalf Of Jeff Hardy > Sent: Tuesday, June 22, 2010 8:27 AM > To: Discussion of IronPython > Subject: Re: [IronPython] Modul

Re: [IronPython] Modules in hosted enviroment

2010-06-22 Thread Jeff Hardy
this method. So I'm looking for a good method > of creating modules that would have my data attached to them. > > Thanks > Ross > > -- > From: "Jeff Hardy" > Sent: Monday, June 21, 2010 11:24 AM > To: "D

Re: [IronPython] Modules in hosted enviroment

2010-06-22 Thread Ross Hammermeister
cussion of IronPython" Subject: Re: [IronPython] Modules in hosted enviroment On Sat, Jun 19, 2010 at 10:51 PM, Ross Hammermeister wrote: I have a project where I am hosting IronPython and I was wondering what is the best way to create modules in C# for python to use. I have found two ways to do

Re: [IronPython] Modules in hosted enviroment

2010-06-21 Thread Jeff Hardy
On Sat, Jun 19, 2010 at 10:51 PM, Ross Hammermeister wrote: > I have a project where I am hosting IronPython and I was wondering what is > the best way to create modules in C# for python to use. I have found two > ways to do it so far. One method is what is done in IronPython, where static > class

[IronPython] Modules in hosted enviroment

2010-06-19 Thread Ross Hammermeister
I have a project where I am hosting IronPython and I was wondering what is the best way to create modules in C# for python to use. I have found two ways to do it so far. One method is what is done in IronPython, where static classes and the PythonModule attribute are used but I don't want to use