C# Класс AlphaTab.Wpf.ViewModel.MainViewModel

This viewmodel contains the data and logic for the main application window.
Наследование: ViewModelBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
InternalOpenFile ( string file ) : void
OpenFile ( string file ) : void

Opens a new file from the specified file path.

UpdateSelectedViewModel ( ) : void

Updates the currently selected viewmodel

Описание методов

MainViewModel() публичный метод

public MainViewModel ( IDialogService dialogService, IErrorService errorService ) : System
dialogService IDialogService
errorService IErrorService
Результат System

OpenFile() публичный метод

Opens a new file by loading the file path using the IO service.
public OpenFile ( ) : void
Результат void

ShowScoreInfo() публичный метод

Opens a score info dialog for the current score.
public ShowScoreInfo ( ) : void
Результат void