예제 #1
0
        protected virtual void RegisterModule(LocatorModule module)
        {
            if (!m_modules.TryAdd(module.Name, module))
            {
                return;
            }

            module.Load();
            var bindings = module.RootBindings;

            foreach (var binding in bindings)
            {
                m_bindings.TryAdd(binding.Service, binding);
            }
        }
예제 #2
0
 public void RegisterModule(LocatorModule module)
 {
     base.RegisterModule(module);
 }