Example #1
0
        public void MethodWithResults()
        {
            var c1 = new C1Builder(this.Session).Build();

            var method = c1.Sum(
                m =>
                {
                    m.a = 1;
                    m.b = 2;
                });

            Assert.AreEqual(3, method.result);
        }
Example #2
0
        public void MethodWithResults()
        {
            var c1 = new C1Builder(this.Session).Build();

            var method = c1.Sum(
                m =>
            {
                m.a = 1;
                m.b = 2;
            });

            Assert.Equal(3, method.result);
        }