Exemple #1
0
        public void Engine_test()
        {
            IActionFactory afactory = new ActionFactory();
            var            null1    = afactory.CreateNullAction("null1");
            var            null2    = afactory.CreateNullAction("null2");

            IEngineFactory efactory = new EngineFactory();
            IEngine        engine   = efactory.Create(c => {
                c.UseDefaultServiceResolver();
                c.UseDefaultContextProvider();
                c.UseReactivePlanner();
                c.AddLink(null1, null2);
            });

            engine.Run();
        }