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

            pt.Add((int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9, int arg10, int arg11, int arg12, int arg13, int arg14, int arg15) => Methods.Action15(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15));

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

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