Ejemplo n.º 1
0
        private static void ActionTest()
        {
            Action <string, string, int> sourceAction = (x, y, z) => Console.WriteLine($"STR1: {x} STR2: {y} INT: {z}");
            Action <object[]>            myDele       = ActionConvert.Convert(sourceAction);

            myDele(new object[] { "Hey", "Yo", 123 });
        }
Ejemplo n.º 2
0
 private void Button_Click_Convert(object sender, RoutedEventArgs e)
 {
     ActionConvert.Invoke(sender, e);
 }