SHARE
TWEET

PublicInterface

a guest Sep 13th, 2010 53 Never
  1. module private MyCode =
  2.     let doSomething (func:int->int) =
  3.         func 2
  4.  
  5. type MyCodePublicInterface () =
  6.     member this.DoSomething (dotNetDelegate:System.Func<int, int>) =
  7.         MyCode.doSomething dotNetDelegate.Invoke
RAW Paste Data
Top