Ejemplo n.º 1
0
 public void ExecuteIt(int a, int b)
 {
     foreach (var m in sum.GetInvocationList())
     {
         Console.WriteLine("{0}({1}, {2}) = {3}", m.Method.Name, a, b, m.DynamicInvoke(a, b));
     }
 }
    public void ExecuteIt(int a, int b)
    {
        var invocationList = sum.GetInvocationList();

        foreach (var m in invocationList)
        {
            var concreteMethodName = m.Method.Name;
        }
    }