示例#1
0
        public void DefineAndExecuteSimpleFunctionMethod()
        {
            FunctionMethod method = new FunctionMethod((context, receiver, arguments) => "Foo");

            Assert.AreEqual("Foo", method.Execute(null, null, null));
        }