[IronPython] CodeDom Method without class

Michael Stephens falcon at uwyo.edu
Fri Jul 4 01:46:53 CEST 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20080703/423374e5/attachment.html>


More information about the Ironpython-users mailing list