public TestFunctionModule()
 {
     var myFunction = new MyFunction();
     var customCompiler = new MyFunctionCompiler(myFunction);
     base.Functions.Add(MyFunction.Name, myFunction);
     base.CustomCompilers.Add(typeof(MyFunction), customCompiler);
 }
Esempio n. 2
0
            public TestFunctionModule()
            {
                var myFunction     = new MyFunction();
                var customCompiler = new MyFunctionCompiler(myFunction);

                base.Functions.Add(MyFunction.Name, myFunction);
                base.CustomCompilers.Add(typeof(MyFunction), customCompiler);
            }