C# Class SimpleMusicPlayer.ViewModels.PlayListsViewModel

Inheritance: ReactiveUI.ReactiveObject, IDropTarget, IKeyHandler, IEnableLogger
Datei anzeigen Open project: punker76/simple-music-player Class Usage Examples

Public Methods

Method Description
CalcPlayListItemTemplateByActualWidth ( double actualWidth, double actualHeight ) : void
DragOver ( IDropInfo dropInfo ) : void
Drop ( IDropInfo dropInfo ) : void
GetCurrentPlayListFile ( ) : IMediaFile
GetNextPlayListFile ( ) : IMediaFile
GetPrevPlayListFile ( ) : IMediaFile
GetRandomPlayListFile ( ) : IMediaFile
HandleCommandLineArgsAsync ( IList args ) : System.Threading.Tasks.Task
HandleKeyDown ( Key key ) : bool
IsLastPlayListFile ( ) : bool
PlayListsViewModel ( ) : System
ResetCurrentItemAndSelection ( ) : void
SavePlayList ( ) : bool
StartUpAsync ( ) : System.Threading.Tasks.Task

Private Methods

Method Description
CanDeleteSelectedFiles ( ) : bool
CanPlay ( ) : bool
DeleteSelectedFiles ( ) : void
HandleDropActionAsync ( IDropInfo dropInfo, IList fileOrDirDropList ) : System.Threading.Tasks.Task
Play ( ) : void
SetCurrentPlayListFile ( IMediaFile file ) : bool

Method Details

CalcPlayListItemTemplateByActualWidth() public method

public CalcPlayListItemTemplateByActualWidth ( double actualWidth, double actualHeight ) : void
actualWidth double
actualHeight double
return void

DragOver() public method

public DragOver ( IDropInfo dropInfo ) : void
dropInfo IDropInfo
return void

Drop() public method

public Drop ( IDropInfo dropInfo ) : void
dropInfo IDropInfo
return void

GetCurrentPlayListFile() public method

public GetCurrentPlayListFile ( ) : IMediaFile
return IMediaFile

GetNextPlayListFile() public method

public GetNextPlayListFile ( ) : IMediaFile
return IMediaFile

GetPrevPlayListFile() public method

public GetPrevPlayListFile ( ) : IMediaFile
return IMediaFile

GetRandomPlayListFile() public method

public GetRandomPlayListFile ( ) : IMediaFile
return IMediaFile

HandleCommandLineArgsAsync() public method

public HandleCommandLineArgsAsync ( IList args ) : System.Threading.Tasks.Task
args IList
return System.Threading.Tasks.Task

HandleKeyDown() public method

public HandleKeyDown ( Key key ) : bool
key Key
return bool

IsLastPlayListFile() public method

public IsLastPlayListFile ( ) : bool
return bool

PlayListsViewModel() public method

public PlayListsViewModel ( ) : System
return System

ResetCurrentItemAndSelection() public method

public ResetCurrentItemAndSelection ( ) : void
return void

SavePlayList() public method

public SavePlayList ( ) : bool
return bool

StartUpAsync() public method

public StartUpAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task