[IronPython] CodeDom Method without class

Michael Stephens falcon at uwyo.edu
Thu Jul 3 16:46:53 PDT 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://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20080703/423374e5/attachment.htm>


More information about the Users mailing list