C# Class AlphaTab.Wpf.ViewModel.MainViewModel

This viewmodel contains the data and logic for the main application window.
Inheritance: ViewModelBase
Afficher le fichier Open project: CoderLine/alphaTab Class Usage Examples

Méthodes publiques

Méthode Description
MainViewModel ( IDialogService dialogService, IErrorService errorService ) : System
OpenFile ( ) : void

Opens a new file by loading the file path using the IO service.

ShowScoreInfo ( ) : void

Opens a score info dialog for the current score.

Private Methods

Méthode Description
InternalOpenFile ( string file ) : void
OpenFile ( string file ) : void

Opens a new file from the specified file path.

UpdateSelectedViewModel ( ) : void

Updates the currently selected viewmodel

Method Details

MainViewModel() public méthode

public MainViewModel ( IDialogService dialogService, IErrorService errorService ) : System
dialogService IDialogService
errorService IErrorService
Résultat System

OpenFile() public méthode

Opens a new file by loading the file path using the IO service.
public OpenFile ( ) : void
Résultat void

ShowScoreInfo() public méthode

Opens a score info dialog for the current score.
public ShowScoreInfo ( ) : void
Résultat void