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