It should be possible to author such a search tool by using FSharp.PowerPack.Metadata.dll, but I don't know that anyone has written it yet.

Alternatively you could probably screen-scrape the docs effectively.

It's a tool waiting to happen; someone should author it and blog it.

By on 5/18/2010 2:27 PM ()
By on 5/19/2010 6:34 PM ()

This is real hardcore!

By on 5/21/2010 3:31 AM ()

There you go! Even better!

By on 5/18/2010 2:30 PM ()

It's reflection day...

I suppose you could go through all methods in your assemblies (all functions are .NET methods under the hood) and do some parameter checks:

1
2
3
4
5
6
7
8
9
10
11
12
open System
open System.Reflection


let currentAssembly = Assembly.GetExecutingAssembly()


let getMethods (assembly : Assembly) =
    assembly.GetTypes() |> Array.fold (fun methods ass -> Array.concat [methods; ass.GetMethods()]) Array.empty<MethodInfo>


getMethods currentAssembly;;

Then you access each method's parameters with .GetParameters(), experiment a little and take it from there...

HTH
Mau

By on 5/18/2010 2:02 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