C# Class Surge.Windows8.ViewModels.MainPage.MainPageViewModel

Inheritance: ViewModel
Mostrar archivo Open project: alexhardwicke/Surge

Protected Properties

Property Type Description
backingTorrents ObservableCollection

Public Methods

Method Description
AddTorrents ( TorrentAddedData data ) : void
MainPageViewModel ( INavigationService navigationService, IEventAggregator eventAggregator, SettingsHelper settingsHelper, SettingsViewModel settingsViewModel, SettingsPaneViewModel settingsPaneViewModel, FilterListViewModel filterListViewModel, ListFilterViewModel listFilterViewModel, TorrentWindowViewModel torrentWindowViewModel, ErrorTracker errorTracker ) : System
OnNavigatedFrom ( object>.Dictionary viewModelState, bool suspending ) : void
OnNavigatedTo ( object navigationParameter, NavigationMode navigationMode, object>.Dictionary viewModelState ) : void
Update ( UpdateData updateData ) : void

Private Methods

Method Description
ChangeOrder ( bool orderByQueue ) : void
ChangeTorrentState ( StateType type ) : void
ClearSelection ( ) : void
ClearState ( ) : void
Delete ( TorrentDeletedData data ) : void
FileActivated ( IEnumerable torrents ) : void
FilterChanged ( Filter filter ) : void
HandleError ( InternalError error ) : void
HandleException ( Exception exn ) : void
Initialise ( ) : void
KeyPressed ( KeyRoutedEventArgs e ) : void
MoveTorrents ( TorrentMovedData data ) : void
PriorityChanged ( PriorityChangedData data ) : void
ProcessQueues ( bool _ ) : void
ProcessTorrents ( IEnumerable torrents ) : void
ProcessURI ( string uri ) : void
SelectAll ( ) : void
SelectionChange ( ) : void
ShowCannotAddAsync ( ) : Task
StartUpdate ( ) : void
URIActivated ( string uri ) : void
UpdateMenu ( ) : void
WantedChanged ( WantedChangedData data ) : void

Method Details

AddTorrents() public method

public AddTorrents ( TorrentAddedData data ) : void
data TorrentAddedData
return void

MainPageViewModel() public method

public MainPageViewModel ( INavigationService navigationService, IEventAggregator eventAggregator, SettingsHelper settingsHelper, SettingsViewModel settingsViewModel, SettingsPaneViewModel settingsPaneViewModel, FilterListViewModel filterListViewModel, ListFilterViewModel listFilterViewModel, TorrentWindowViewModel torrentWindowViewModel, ErrorTracker errorTracker ) : System
navigationService INavigationService
eventAggregator IEventAggregator
settingsHelper SettingsHelper
settingsViewModel SettingsViewModel
settingsPaneViewModel SettingsPaneViewModel
filterListViewModel FilterListViewModel
listFilterViewModel ListFilterViewModel
torrentWindowViewModel TorrentWindowViewModel
errorTracker Surge.Shared.Common.ErrorTracking.ErrorTracker
return System

OnNavigatedFrom() public method

public OnNavigatedFrom ( object>.Dictionary viewModelState, bool suspending ) : void
viewModelState object>.Dictionary
suspending bool
return void

OnNavigatedTo() public method

public OnNavigatedTo ( object navigationParameter, NavigationMode navigationMode, object>.Dictionary viewModelState ) : void
navigationParameter object
navigationMode NavigationMode
viewModelState object>.Dictionary
return void

Update() public method

public Update ( UpdateData updateData ) : void
updateData UpdateData
return void

Property Details

backingTorrents protected_oe property

protected ObservableCollection backingTorrents
return ObservableCollection