MVVM module which allows the registration of default services in the service locator.
Inheritance: IServiceLocatorInitializer
Ejemplo n.º 1
0
        /// <summary>
        /// Initializes the design time data.
        /// </summary>
        private void InternalInitialize()
        {
            if (_internallyInitialized)
            {
                return;
            }

            _internallyInitialized = true;

            var serviceLocator = ServiceLocator.Default;

            var coreModule = new CoreModule();
            coreModule.Initialize(serviceLocator);

            var mvvmModule = new MVVMModule();
            mvvmModule.Initialize(serviceLocator);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes the design time data.
        /// </summary>
        private void InternalInitialize()
        {
            if (_internallyInitialized)
            {
                return;
            }

            _internallyInitialized = true;

            var serviceLocator = ServiceLocator.Default;

            var coreModule = new CoreModule();

            coreModule.Initialize(serviceLocator);

            var mvvmModule = new MVVMModule();

            mvvmModule.Initialize(serviceLocator);
        }