private static IUnityContainer ConfigureContainer()
        {
            var container = new UnityContainer();

            CoreUnityConfig.Configure(container);
            UwpCoreUnityConfig.Configure(container);

            return(container);
        }
Beispiel #2
0
        public static IUnityContainer ConfigureContainer(bool configureLocator = true)
        {
            var container = new UnityContainer();

            CoreUnityConfig.Configure(container);
            UwpCoreUnityConfig.Configure(container);
            UwpUnityConfig.Configure(container);

            if (configureLocator)
            {
                ViewModelLocator.Configure(container);
            }

            return(container);
        }