C# Class Last.fm_Scrubbler_WPF.ViewModels.FriendScrobbleViewModel

ViewModel for the FriendScrobbleView.
Inheritance: ScrobbleViewModelBase
显示文件 Open project: coczero/Last.fm-Scrubbler-WPF Class Usage Examples

Public Methods

Method Description
FetchScrobbles ( ) : void

Fetches the recent scrobbles of the user with the given Username.

FriendScrobbleViewModel ( ) : IF.Lastfm.Core.Objects

Constructor.

Preview ( ) : void

Previews the tracks that will be scrobbled.

Scrobble ( ) : System.Threading.Tasks.Task

Scrobbles the selected tracks.

SelectAll ( ) : void

Marks all fetched scrobbles as "ToScrobble".

SelectNone ( ) : void

Marks all fetched scrobbles as not "ToScrobble".

Private Methods

Method Description
CreateScrobbles ( ) : List
ToScrobbleChanged ( object sender, EventArgs e ) : void

Method Details

FetchScrobbles() public method

Fetches the recent scrobbles of the user with the given Username.
public FetchScrobbles ( ) : void
return void

FriendScrobbleViewModel() public method

Constructor.
public FriendScrobbleViewModel ( ) : IF.Lastfm.Core.Objects
return IF.Lastfm.Core.Objects

Preview() public method

Previews the tracks that will be scrobbled.
public Preview ( ) : void
return void

Scrobble() public method

Scrobbles the selected tracks.
public Scrobble ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

SelectAll() public method

Marks all fetched scrobbles as "ToScrobble".
public SelectAll ( ) : void
return void

SelectNone() public method

Marks all fetched scrobbles as not "ToScrobble".
public SelectNone ( ) : void
return void