예제 #1
0
        public App()
        {
            ViewModelLocator.Initialize();
            IocSetup.Initialize();

            InitializeComponent();
            Suspending += OnSuspending;
        }
예제 #2
0
        public static void Initialize()
        {
            if (_isInitialized)
            {
                return;
            }

            IocSetup.Initialize();
            ViewModelLocator.Initialize();
            _isInitialized = true;
        }