public WatchHistoryPageViewModel( ApplicationLayoutManager applicationLayoutManager, NiconicoSession niconicoSession, WatchHistoryManager watchHistoryManager, HohoemaPlaylist hohoemaPlaylist, Services.PageManager pageManager, WatchHistoryRemoveAllCommand watchHistoryRemoveAllCommand ) { ApplicationLayoutManager = applicationLayoutManager; _niconicoSession = niconicoSession; _watchHistoryManager = watchHistoryManager; HohoemaPlaylist = hohoemaPlaylist; PageManager = pageManager; WatchHistoryRemoveAllCommand = watchHistoryRemoveAllCommand; Histories = new ObservableCollection <HistoryVideoInfoControlViewModel>(); }
public WatchHistoryPageViewModel( ILoggerFactory loggerFactory, ApplicationLayoutManager applicationLayoutManager, NiconicoSession niconicoSession, WatchHistoryManager watchHistoryManager, PageManager pageManager, VideoPlayWithQueueCommand videoPlayWithQueueCommand, WatchHistoryRemoveAllCommand watchHistoryRemoveAllCommand, SelectionModeToggleCommand selectionModeToggleCommand ) { _logger = loggerFactory.CreateLogger <WatchHistoryPageViewModel>(); ApplicationLayoutManager = applicationLayoutManager; _niconicoSession = niconicoSession; _watchHistoryManager = watchHistoryManager; PageManager = pageManager; VideoPlayWithQueueCommand = videoPlayWithQueueCommand; WatchHistoryRemoveAllCommand = watchHistoryRemoveAllCommand; SelectionModeToggleCommand = selectionModeToggleCommand; Histories = new ObservableCollection <HistoryVideoListItemControlViewModel>(); NowUpdating = new ReactivePropertySlim <bool>(false) .AddTo(_CompositeDisposable); }
public WatchHistoryRemoveItemCommand( WatchHistoryManager watchHistoryManager ) { _watchHistoryManager = watchHistoryManager; }