private void BuildModes() { foreach (var mode in _modeManager.Modes) { var modeViewModel = new ModeViewModel(mode); _modes.Add(modeViewModel); } _currentMode = _modes[0]; }
public MainViewModel(ModeManager modeManager) { _modeManager = modeManager; _currentScale = 0; _currentMode = null; _tempo = 120; _modes = new ObservableCollection <ModeViewModel>(); BuildModes(); }