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

Inheritance: ViewModel
Show file Open project: alexhardwicke/Surge Class Usage Examples

Public Methods

Method Description
Open ( Purpose purpose, string defaultLocation, IEnumerable torrents = null ) : void
TorrentWindowViewModel ( IEventAggregator eventAggregator, SettingsHelper settingsHelper ) : System

Private Methods

Method Description
AddByURL ( string uriString ) : bool
AddByURL ( ) : void
AddTorrent ( TorrentSimpleViewModel tvm ) : void
AddTorrentFiles ( IEnumerable torrents ) : void
AddTorrentObjects ( IEnumerable torrents ) : void
AddTorrentURI ( string uri ) : void
AddTorrentURIs ( List uris ) : void
BrowseForFiles ( ) : void
Clear ( ) : void
RemoveTorrent ( TorrentSimpleViewModel tvm ) : void
RemoveTorrentHandler ( object sender, EventArgs e ) : void
SendAddFiles ( ) : void
SendDeleteFiles ( ) : void
SendMoveFiles ( ) : void
Submit ( ) : void

Method Details

Open() public method

public Open ( Purpose purpose, string defaultLocation, IEnumerable torrents = null ) : void
purpose Purpose
defaultLocation string
torrents IEnumerable
return void

TorrentWindowViewModel() public method

public TorrentWindowViewModel ( IEventAggregator eventAggregator, SettingsHelper settingsHelper ) : System
eventAggregator IEventAggregator
settingsHelper SettingsHelper
return System