/// <summary> /// Liefert eine neue Instanz des View Models /// </summary> /// <param name="difficultyLevelManagementViewModel"></param> /// <param name="difficultyLevelScaleManagementViewModel"></param> public DifficultyManagementViewModel(IDifficultyLevelManagementViewModel difficultyLevelManagementViewModel, IDifficultyLevelScaleManagementViewModel difficultyLevelScaleManagementViewModel) { DifficultyLevelManagementViewModel = difficultyLevelManagementViewModel; DifficultyLevelScaleManagementViewModel = difficultyLevelScaleManagementViewModel; PropertyChangedEventManager.AddListener(DifficultyLevelScaleManagementViewModel, this, "SelectedDifficultyLevelScale"); }