示例#1
0
 public int Visit(MyAnotherClass c)
 {
     return c.InvokeMethod();
 }
示例#2
0
 public int Visit(MyAnotherClass c)
 {
     return(c.InvokeMethod());
 }
示例#3
0
 public void Benchmark()
 {
     _instanceOne.InvokeMethod();
     _instanceTwo.InvokeMethod();
 }
示例#4
0
 public static int InvokeMethodEx(this MyAnotherClass c)
 {
     return(c.InvokeMethod());
 }