Advertisement
Guest User

PublicInterface

a guest
Sep 13th, 2010
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
OCaml 0.23 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement