예제 #1
0
 static void TestInterface(IMyInterface iface, int iterations)
 {
     for (int i = 0; i < iterations; i++)
     {
         iface.InterfaceMethod();
     }
 }
예제 #2
0
파일: test.cs 프로젝트: metoo10987/CoreCLR
 public static string TestInterfaceMethod(IMyInterface i, string s)
 {
     return(i.InterfaceMethod(s));
 }
예제 #3
0
 public int InvokeCall(IMyInterface mc, double d)
 {
     return(mc.InterfaceMethod(d));
 }
예제 #4
0
 public int InvokeCall(IMyInterface mc, double d)
 {
     return mc.InterfaceMethod(d);
 }