Ejemplo n.º 1
0
        public void ParameterTable_Add_Action4()
        {
            var pt = new ParameterTable();

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

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

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