示例#1
0
        public void OnLoad()
        {
            DependencyModule1 module1 = new DependencyModule1();
            module1.Execute();

            Nomad.Tests.FunctionalTests.Modules.LoadedModulesRegistry.Register(typeof(DependencyModule2));
        }
示例#2
0
    public void OnLoad()
    {
        //  invoke the method from referenced module
        DependencyModule1 module = new DependencyModule1();
        module.Execute();

        DependencyModule2 module2 = new DependencyModule2();
        module2.Execute();

        Nomad.Tests.FunctionalTests.Modules.LoadedModulesRegistry.Register(typeof(ModuleWithDependency));
    }