Example #1
0
        /// <summary>
        /// Liefert eine neue Instanz des Design View Models
        /// </summary>
        public DifficultyLevelManagementDesignViewModel()
        {
            DifficultyLevels.Add(new ItemWIthNameAndScoreDesignViewModel());
            DifficultyLevels.Add(new ItemWIthNameAndScoreDesignViewModel());

            SelectedDifficultyLevel = DifficultyLevels.First();
        }
Example #2
0
        /// <summary>
        /// Liefert eine neue INstanz des Design View Models
        /// </summary>
        public NameAndLevelInputDesignViewModel()
        {
            Name = "Weg 1";

            DifficultyLevelScales.Add(new DifficultyLevelScale()
            {
                Name = "Sächsisch"
            });
            SelectedDifficultyLevelScale = DifficultyLevelScales.First();

            DifficultyLevels.Add(new DifficultyLevel()
            {
                Name = "IV", Score = 500
            });
            SelectedDifficultyLevel = DifficultyLevels.First();
        }