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

            pt.Add((int arg3, int arg1, int arg2, int arg4, int arg5, int arg6, int arg7) => Methods.Action7(arg1, arg2, arg3, arg4, arg5, arg6, arg7));

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

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