Ejemplo n.º 1
0
        public BookmarksManager(ExtensionToImageFileConverter converter)
        {
            _converter           = converter;
            BookmarkClickCommand = new DelegateCommand(OnBookmarkClicked);

            AddBookmarkCommand = new DelegateCommand(OnAddBookmark);

            _items = OpenBookmarksFile();

            _bookmarks = CreateMenuItemViewModels(_items);
        }
Ejemplo n.º 2
0
        private ChromEr(ISynchronizationHelper synchronizationHelper,
                        ITabClient tabClient,
                        Action <TabsViewModel, Point> windowFactory)
        {
            _synchronizationHelper = synchronizationHelper;
            _tabClient             = tabClient;
            _windowFactory         = windowFactory;

            var converter = new ExtensionToImageFileConverter();

            OpenNewWindowCommand = new DelegateCommand(OnOpenNewWindow);

            IconsManager     = new IconsManager(converter);
            BookmarksManager = new BookmarksManager(converter);
        }
Ejemplo n.º 3
0
 public IconsManager(ExtensionToImageFileConverter converter)
 {
     _converter = converter;
 }