Exemple #1
0
        public void ParameterTable_Add_Action1()
        {
            var pt = new ParameterTable();

            pt.Add((int arg1) => Methods.Action1(arg1));

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

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