public static IModule MapBindingToModule(Binding binding) { var registry = GetRegistry(binding); var module = new Module(registry); return module; }