0
나는 foo
가 제공하는 유형이며, 삭제 유형 Execute
라는 방법 Bar
경우있는 상태에서 ProvidedMethod
ProvidedMethod에서 인스턴스 액세스
의 구현에서 (실행) 인스턴스에 액세스하려면 어떻게 그럼이
bar.Execute() //where bar is an object of type Bar
동일하기
ProvidedMethod
소원이 코드
foo.Execute()
을 부여 16,
는 내가 가지고있는 것은 인스턴스가 args
배열의 첫 번째 표현으로 전달이
//p is a MethodInfo that represents Bar.Execute and m is the ProvidedMethod
objm.InvokeCode <- fun args -> <@@ p.Invoke(--what goes here--,null) @@>