Example #1
0
 public ModuleController(CompositionContainer container, IShellService shellService, INavigationService navigationService,
     EmailAccountsController emailAccountsController)
 {
     this.container = container;
     this.shellService = shellService;
     this.navigationService = navigationService;
     this.emailAccountsController = emailAccountsController;
     this.newEmailCommand = new DelegateCommand(NewEmail);
     this.root = new EmailClientRoot();
     this.itemCountSychronizers = new List<ItemCountSynchronizer>();
 }
 public ModuleController(IShellService shellService, IDocumentService documentService, INavigationService navigationService,
                         EmailAccountsController emailAccountsController, ExportFactory <EmailFolderController> emailFolderControllerFactory,
                         ExportFactory <NewEmailController> newEmailControllerFactory)
 {
     this.shellService                 = shellService;
     this.documentService              = documentService;
     this.navigationService            = navigationService;
     this.emailAccountsController      = emailAccountsController;
     this.emailFolderControllerFactory = emailFolderControllerFactory;
     this.newEmailControllerFactory    = newEmailControllerFactory;
     newEmailCommand        = new DelegateCommand(NewEmail);
     itemCountSynchronizers = new List <ItemCountSynchronizer>();
     serializer             = new Lazy <DataContractSerializer>(CreateDataContractSerializer);
 }
Example #3
0
 public ModuleController(IShellService shellService, IDocumentService documentService, INavigationService navigationService,
     EmailAccountsController emailAccountsController, ExportFactory<EmailFolderController> emailFolderControllerFactory,
     ExportFactory<NewEmailController> newEmailControllerFactory)
 {
     this.shellService = shellService;
     this.documentService = documentService;
     this.navigationService = navigationService;
     this.emailAccountsController = emailAccountsController;
     this.emailFolderControllerFactory = emailFolderControllerFactory;
     this.newEmailControllerFactory = newEmailControllerFactory;
     this.newEmailCommand = new DelegateCommand(NewEmail);
     this.itemCountSychronizers = new List<ItemCountSynchronizer>();
     this.serializer = new Lazy<DataContractSerializer>(CreateDataContractSerializer);
 }