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

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

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

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