コード例 #1
0
        private static IUnityContainer CreateContainer()
        {
            var container = new UnityContainer();

            container.RegisterMatchingTypes();
            //container.RegisterAppSettings();
            //container.RegisterUnitOfWork(new PerRequestLifetimeManager());

            return container;
        }