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

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

공개 프로퍼티들

프로퍼티 타입 설명
Formats string[]

공개 메소드들

메소드 설명
CSVScrobbleViewModel ( ) : IF.Lastfm.Core.Objects

Constructor.

LoadCSVFileDialog ( ) : void

Shows a dialog to open a csv file.

Preview ( ) : void

Previews the tracks that will be scrobbled.

Scrobble ( ) : System.Threading.Tasks.Task

Scrobbles the selected scrobbles.

SelectAll ( ) : void

Marks all scrobbles as "ToScrobble".

SelectNone ( ) : void

Marks all scrobbles as not "ToScrobble".

비공개 메소드들

메소드 설명
CreateScrobbles ( ) : List

Create a list with tracks that will be scrobbled.

LoadCSVFile ( string path ) : void

Loads and parses a csv file.

ToScrobbleChanged ( object sender, EventArgs e ) : void

Notifies the UI that "ToScrobble" has changed.

메소드 상세

CSVScrobbleViewModel() 공개 메소드

Constructor.
public CSVScrobbleViewModel ( ) : IF.Lastfm.Core.Objects
리턴 IF.Lastfm.Core.Objects

LoadCSVFileDialog() 공개 메소드

Shows a dialog to open a csv file.
public LoadCSVFileDialog ( ) : void
리턴 void

Preview() 공개 메소드

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

Scrobble() 공개 메소드

Scrobbles the selected scrobbles.
public Scrobble ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

SelectAll() 공개 메소드

Marks all scrobbles as "ToScrobble".
public SelectAll ( ) : void
리턴 void

SelectNone() 공개 메소드

Marks all scrobbles as not "ToScrobble".
public SelectNone ( ) : void
리턴 void

프로퍼티 상세

Formats 공개적으로 정적으로 프로퍼티

Different formats to try in case TryParse fails.
public static string[] Formats
리턴 string[]