C# Class Last.fm_Scrubbler_WPF.ViewModels.FileScrobbleViewModel

ViewModel for the FileScrobbleView.
Inheritance: ScrobbleViewModelBase
Afficher le fichier Open project: coczero/Last.fm-Scrubbler-WPF Class Usage Examples

Méthodes publiques

Méthode Description
AddFiles ( ) : void

Shows a dialog to select music files. Parses the selected files.

FileScrobbleViewModel ( ) : System

Constructor.

Preview ( ) : void

Shows a preview of the tracks that will be scrobbled.

RemoveFiles ( ) : void

Removes the selected files.

Scrobble ( ) : System.Threading.Tasks.Task

Scrobbles the selected tracks.

SelectAll ( ) : void

Marks all tracks as "ToScrobble".

SelectNone ( ) : void

Marks all tracks as not "ToScrobble".

Private Methods

Méthode Description
CreateScrobbles ( ) : List

Creates the list of the tracks that will be scrobbled.

IsSelectedChanged ( object sender, EventArgs e ) : void

Notifies the UI that the IsSelected property of a LoadedFileViewModel has changed.

ToScrobbleChanged ( object sender, EventArgs e ) : void

Notifies the UI that the ToScrobble property of a LoadedFileViewModel has changed.

Method Details

AddFiles() public méthode

Shows a dialog to select music files. Parses the selected files.
public AddFiles ( ) : void
Résultat void

FileScrobbleViewModel() public méthode

Constructor.
public FileScrobbleViewModel ( ) : System
Résultat System

Preview() public méthode

Shows a preview of the tracks that will be scrobbled.
public Preview ( ) : void
Résultat void

RemoveFiles() public méthode

Removes the selected files.
public RemoveFiles ( ) : void
Résultat void

Scrobble() public méthode

Scrobbles the selected tracks.
public Scrobble ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

SelectAll() public méthode

Marks all tracks as "ToScrobble".
public SelectAll ( ) : void
Résultat void

SelectNone() public méthode

Marks all tracks as not "ToScrobble".
public SelectNone ( ) : void
Résultat void