split unity configuration file
问题 I need to split my unity configuration into n different files so i can select it some of those files into the same unity container?? 回答1: OK. It's too late but I could answer. You need something like this: private IUnityContainer ReadContainer() { var unityCommon = (UnityConfigurationSection)ConfigurationManager.GetSection("unityCommon"); IUnityContainer returnValue = new UnityContainer(); unityCommon.Configure(returnValue, "Common"); // Unnamed <container> element var unitySpecific =