示例#1
0
 public MainViewModel(string moduleName, IHostViewModelController hostController,
                      IHostSystemController hostSystemController, IHostDialogsController hostDialogsController,
                      Controllers.IViewsController mainController)
     : base(moduleName, hostController, hostSystemController, hostDialogsController)
 {
     Instance        = this;
     ViewsController = mainController;
 }
 /// <summary>
 ///		Inicializa los parámetros de ViewModel
 /// </summary>
 public DevConferencesViewModel(string moduleName, IHostViewModelController hostController,
                                IHostSystemController hostSystemController, IHostDialogsController hostDialogsController,
                                Controllers.IViewsController viewsController) : base(moduleName, hostController, hostSystemController, hostDialogsController)
 {
     // Crea la instancia estática
     Instance = this;
     // Inicializa los datos
     ViewsController = viewsController;
 }
示例#3
0
 public FtpManagerViewModel(string moduleName, IHostViewModelController hostController,
                            IHostSystemController hostSystemController, IHostDialogsController hostDialogsController,
                            Controllers.IViewsController viewsController)
     : base(moduleName, hostController, hostSystemController, hostDialogsController)
 {
     // Crea la instancia estática
     Instance = this;
     // Inicializa los controladores
     ViewsController = viewsController;
     Messenger       = new Controllers.MessagesController();
 }
示例#4
0
 public BookLibraryViewModel(string moduleName, IHostViewModelController hostController,
                             IHostSystemController hostSystemController, IHostDialogsController hostDialogsController,
                             Controllers.IViewsController viewsController) : base(moduleName, hostController, hostSystemController, hostDialogsController)
 {
     // Crea la instancia estática
     Instance = this;
     // Asigna el controlador de vistas
     ViewsController = viewsController;
     // Asigna las propiedades de configuración
     BooksManager.Configuration.PathLibrary = PathLibrary;
 }
示例#5
0
 /// <summary>
 ///		Inicializa los parámetros de ViewModel
 /// </summary>
 public BauMessengerViewModel(string moduleName, IHostViewModelController hostController,
                              IHostSystemController hostSystemController,
                              IHostDialogsController hostDialogsController,
                              Controllers.IViewsController viewsController) : base(moduleName, hostController, hostSystemController, hostDialogsController)
 {
     // Crea la instancia estática
     Instance = this;
     // Inicializa los datos
     BauMessenger    = new Controllers.Xmpp.XmppManager();
     ViewsController = viewsController;
 }
示例#6
0
 /// <summary>
 ///		Inicializa los parámetros de ViewModel
 /// </summary>
 public DocWriterViewModel(string moduleName, IHostViewModelController hostController,
                           IHostSystemController hostSystemController, IHostDialogsController hostDialogsController,
                           Controllers.IViewsController viewsController,
                           System.Collections.Generic.Dictionary <IconIndex, string> imagesRoutes)
     : base(moduleName, hostController, hostSystemController, hostDialogsController)
 {
     // Crea la instancia estática
     Instance = this;
     // Inicializa los controladores
     ViewsController = viewsController;
     // Configura los parámetros adicionales
     ImageRoutes = imagesRoutes;
 }
 public BlogReaderViewModel(string moduleName, IHostViewModelController hostController,
                            IHostSystemController hostSystemController, IHostDialogsController hostDialogsController, Controllers.IViewsController viewsController,
                            System.Collections.Generic.Dictionary <IconIndex, string> dctImagesRoutes)
     : base(moduleName, hostController, hostSystemController, hostDialogsController)
 {
     // Crea la instancia estática
     Instance = this;
     // Asigna el manager de blogs y el controlador de vistas
     BlogManager     = new Application.BlogReaderManager();
     ViewsController = viewsController;
     // Asigna las propiedades de configuración
     BlogManager.Configuration.PathBlogs = PathBlogs;
     // Asigna las rutas a los iconos
     ImageRoutes = dctImagesRoutes;
 }
示例#8
0
 /// <summary>
 ///		Inicializa los parámetros de ViewModel
 /// </summary>
 public SourceEditorViewModel(string moduleName, IHostViewModelController hostController,
                              IHostSystemController hostSystemController,
                              IHostDialogsController hostDialogsController,
                              Controllers.IViewsController viewsController,
                              System.Collections.Generic.Dictionary <IconIndex, string> dctImagesRoutes)
     : base(moduleName, hostController, hostSystemController, hostDialogsController)
 {
     // Crea la instancia estática
     Instance = this;
     // Inicializa los controladores
     MessagesController = new Controllers.MessagesController();
     ViewsController    = viewsController;
     // Configura el manager
     Manager = new Application.SourceEditorManager(PathData);
     // Configura los parámetros adicionales
     ImageRoutes = dctImagesRoutes;
 }