Beispiel #1
0
        private void RegisterModules(IEnumerable <CommandModule> modules)
        {
            foreach (var module in modules)
            {
                foreach (var command in module.Commands)
                {
                    CommandRouteBuilder.ParseRoute(command.CommandRoute);
                }

                Catalog.AddModule(module);
            }
        }