Example #1
0
        public static FunctionRegistry Initialise()
        {
            var registry = new FunctionRegistry();

            // TODO - could use reflection here
            registry.Register(new QueryableGenerator());
            registry.Register(new StringGenerator());
            registry.Register(new DateTimeGenerator());
            registry.Register(new ICollectionGenerator());

            return registry;
        }