[IronPython] CodeDom Method without class
curt at hagenlocher.org
Fri Jul 4 04:12:39 CEST 2008
This isn't surprising, because the model exposed by the CodeDom is extremely
close to the underlying CLR -- which doesn't support methods without
On Thu, Jul 3, 2008 at 4:46 PM, Michael Stephens <falcon at uwyo.edu> wrote:
> I'm trying to declare a method without a class but the PythonProvider .. or
> .net keeps throwing.. Does anyone know any clever workarounds?
> CodeMemberMethod meth=new CodeMemberMethod();
> meth.Name = "Script";
> meth.Attributes = MemberAttributes.Public;
> provider.??? everything throws!
> Michael Stephens
> Electrical Engineering Graduate Student
> University of Wyoming
> falcon at uwyo.edu or 89iroc at gmail.com
> Users mailing list
> Users at lists.ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users