e, object value) {
this[name] = value;
}
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marty Nelson
Sent: Thursday, November 06, 2008 8:02 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Extension methods in python
Like a Christmas tree.
__
Like a Christmas tree.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dino Viehland
Sent: Thursday, November 06, 2008 7:20 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Extension methods in python
By custom class you mean a
iha Valencic
Sent: Thursday, November 06, 2008 9:08 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Extension methods in python
Marty, from what I understand you are passing a variable into python engine and
want extension methods there? You can use something like that:
import clr
imp
nt: Thursday, November 06, 2008 9:08 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Extension methods in python
Marty, from what I understand you are passing a variable into python
engine and want extension methods there? You can use something like
that:
import clr
import System
cla
Marty, from what I understand you are passing a variable into python engine
and want extension methods there? You can use something like that:
import clr
import System
class MyString(System.String):
pass;
def ToFoo(self):
return self.upper()+' FooBarBaz'
a = MyString("Hello world!");
p
ET extension
methods to existing types currently. It is a frequent request and we will
probably get to it at some point.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marty Nelson
Sent: Wednesday, November 05, 2008 1:50 PM
To: Discussion of IronPython
Subject: [IronPython] Exten
s a frequent request
and we will probably get to it at some point.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marty Nelson
Sent: Wednesday, November 05, 2008 1:50 PM
To: Discussion of IronPython
Subject: [IronPython] Extension methods in python
Is there the equivalent of e
some point.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marty Nelson
Sent: Wednesday, November 05, 2008 1:50 PM
To: Discussion of IronPython
Subject: [IronPython] Extension methods in python
Is there the equivalent of extension method in python? I want to put a
variable into
Is there the equivalent of extension method in python? I want to put a
variable into the script scope and create extension methods for it.
Does this make sense and is it possible?
===
Notice: This e-mail message, together with any attachments, contains
information of Symyx Technologies, In