Пример #1
0
        public WatchedItemViewModel(WatchedItemDataEntry item,
                                    IUriLauncherAdapter uriLauncherAdapter,
                                    IDomainLinkHandlerManager domainLinkHandlerManager,
                                    IWatchedItemsManager watchedItemsManager) : base(item)
        {
            _uriLauncherAdapter       = uriLauncherAdapter;
            _domainLinkHandlerManager = domainLinkHandlerManager;
            _watchedItemsManager      = watchedItemsManager;

            watchedItemsManager.ItemDetailsFetched += WatchedItemsManagerOnItemDetailsFetched;
        }
Пример #2
0
 public FeedItemViewModel(
     IDomainLinkHandlerManager domainLinkHandlerManager,
     IUriLauncherAdapter launcherAdapter,
     IIgnoredItemsManager ignoredItemsManager,
     IWatchedItemsManager watchedItemsManager,
     ICrawlerResultItem item,
     FeedTabViewModel parent) : base(item)
 {
     _domainLinkHandlerManager = domainLinkHandlerManager;
     _launcherAdapter          = launcherAdapter;
     _ignoredItemsManager      = ignoredItemsManager;
     _watchedItemsManager      = watchedItemsManager;
     _parent = parent;
 }