C# 클래스 Last.fm_Scrubbler_WPF.ViewModels.DatabaseScrobbleViewModel

ViewModel for the DatabaseScrobbleView.
상속: ScrobbleViewModelBase
파일 보기 프로젝트 열기: coczero/Last.fm-Scrubbler-WPF 1 사용 예제들

공개 메소드들

메소드 설명
ArtistClicked ( object sender, EventArgs e ) : void

Fetches the release list of the clicked artist and displays it.

BackToArtist ( ) : void

Switches the CurrentView to the _artistResultView.

BackToReleases ( ) : void

Switches the CurrentView to the _releaseResultView.

DatabaseScrobbleViewModel ( ) : IF.Lastfm.Core.Api.Helpers

Constructor.

Preview ( ) : void
ReleaseClicked ( object sender, EventArgs e ) : void

Fetches the tracklist of the clicked release and displays it.

Scrobble ( ) : System.Threading.Tasks.Task

Scrobbles the selected tracks.

Scrobbles will be 'reversed' meaning track 1 of the release will be scrobbled last. The first track to be scrobbled will have the FinishingTime as timestamp. The last track (track 1) will have the FinishingTime minus all the durations of the scrobbles before. 3 minute default duration.

Search ( ) : System.Threading.Tasks.Task

Sarches the entered SearchText. And displays the info.

SelectAllTracks ( ) : void

Marks all tracks as "ToScrobble".

SelectNoneTracks ( ) : void

Marks all tracks as not "ToScrobble";

비공개 메소드들

메소드 설명
CreateScrobbles ( ) : List
ToScrobbleChanged ( object sender, EventArgs e ) : void

Notifies CanScrobble that one or more ToScrobbles have been changed.

메소드 상세

ArtistClicked() 공개 메소드

Fetches the release list of the clicked artist and displays it.
public ArtistClicked ( object sender, EventArgs e ) : void
sender object Clicked artist as .
e System.EventArgs Ignored.
리턴 void

BackToArtist() 공개 메소드

Switches the CurrentView to the _artistResultView.
public BackToArtist ( ) : void
리턴 void

BackToReleases() 공개 메소드

Switches the CurrentView to the _releaseResultView.
public BackToReleases ( ) : void
리턴 void

DatabaseScrobbleViewModel() 공개 메소드

Constructor.
public DatabaseScrobbleViewModel ( ) : IF.Lastfm.Core.Api.Helpers
리턴 IF.Lastfm.Core.Api.Helpers

Preview() 공개 메소드

public Preview ( ) : void
리턴 void

ReleaseClicked() 공개 메소드

Fetches the tracklist of the clicked release and displays it.
public ReleaseClicked ( object sender, EventArgs e ) : void
sender object Clicked release as .
e System.EventArgs Ignored.
리턴 void

Scrobble() 공개 메소드

Scrobbles the selected tracks.
Scrobbles will be 'reversed' meaning track 1 of the release will be scrobbled last. The first track to be scrobbled will have the FinishingTime as timestamp. The last track (track 1) will have the FinishingTime minus all the durations of the scrobbles before. 3 minute default duration.
public Scrobble ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

Search() 공개 메소드

Sarches the entered SearchText. And displays the info.
public Search ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

SelectAllTracks() 공개 메소드

Marks all tracks as "ToScrobble".
public SelectAllTracks ( ) : void
리턴 void

SelectNoneTracks() 공개 메소드

Marks all tracks as not "ToScrobble";
public SelectNoneTracks ( ) : void
리턴 void