Beispiel #1
0
        public void ParameterTable_Add_Action2()
        {
            var pt = new ParameterTable();

            pt.Add((int arg2, int arg1) => Methods.Action2(arg1, arg2));

            var m = typeof(Methods).GetMethod(nameof(Methods.Action2));

            Assert.IsTrue(pt.Contains(m.GetParameters()[1]));
        }