Ejemplo n.º 1
0
        public ModuleController(IMessageService messageService, IPresentationService presentationService, 
            IEntityController entityController, BookController bookController, PersonController personController, 
            ShellService shellService, Lazy<ShellViewModel> shellViewModel)
        {
            presentationService.InitializeCultures();

            this.messageService = messageService;
            this.entityController = entityController;
            this.bookController = bookController;
            this.personController = personController;
            this.shellService = shellService;
            this.shellViewModel = shellViewModel;
            this.exitCommand = new DelegateCommand(Close);
        }
Ejemplo n.º 2
0
        public ModuleController(IMessageService messageService, IPresentationService presentationService,
                                IEntityController entityController, BookController bookController, PersonController personController,
                                ShellService shellService, Lazy <ShellViewModel> shellViewModel)
        {
            presentationService.InitializeCultures();

            this.messageService   = messageService;
            this.entityController = entityController;
            this.bookController   = bookController;
            this.personController = personController;
            this.shellService     = shellService;
            this.shellViewModel   = shellViewModel;
            this.exitCommand      = new DelegateCommand(Close);
        }