Hi,
the Module property refers to a .NET concept and not to the F# concept, so this may be the firt problem. Instead of using Module, I'd try using DeclaringType, which should give you a .NET class - but that's how F# modules are compiled.

The next thing is that you may need to specify BindingFlags for the GetMethods call. I think you'll need BindingFlags.Static ||| BindingFlags.Public - the first one specifies that it should look only for static methods (which is a .NET representation of F# functions) and the first one specifies that we're looking only for public members.

By on 11/10/2008 5:36 PM ()

That's done it, and thanks a lot Tomas (again)! Much appreciated.

By on 11/10/2008 6:49 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper