Exemplo n.º 1
0
 /// <summary>
 ///     Ctor.
 /// </summary>
 /// <param name="countryService"></param>
 /// <param name="areaService"></param>
 /// <param name="summitGroupService"></param>
 /// <param name="summitService"></param>
 /// <param name="routeService"></param>
 /// <param name="variationService"></param>
 /// <param name="logEntryService"></param>
 /// <param name="nameInputViewCommand"></param>
 /// <param name="difficultyManagementViewCommand"></param>
 /// <param name="nameAndLevelInputViewCommand"></param>
 /// <param name="logEntryInputViewCommand"></param>
 public MainViewModel(ICountryService countryService, IAreaService areaService,
     ISummitGroupService summitGroupService, ISummitService summitService, IRouteService routeService,
     IVariationService variationService, ILogEntryService logEntryService, IDifficultyLevelService difficultyLevelService,
     IDifficultyLevelScaleService difficultyLevelScaleService,
     NameInputViewCommand nameInputViewCommand, DifficultyManagementViewCommand difficultyManagementViewCommand,
     NameAndLevelInputViewCommand nameAndLevelInputViewCommand
     , LogEntryInputViewCommand logEntryInputViewCommand)
 {
     _countryService = countryService;
     _areaService = areaService;
     _summitGroupService = summitGroupService;
     _summitService = summitService;
     _routeService = routeService;
     _variationService = variationService;
     _logEntryService = logEntryService;
     _difficultyLevelService = difficultyLevelService;
     _difficultyLevelScaleService = difficultyLevelScaleService;
     _nameInputViewCommand = nameInputViewCommand;
     _difficultyManagementViewCommand = difficultyManagementViewCommand;
     _nameAndLevelInputViewCommand = nameAndLevelInputViewCommand;
     _logEntryInputViewCommand = logEntryInputViewCommand;
 }
 /// <summary>
 /// Liefert eine neue Instanz des View Models
 /// </summary>
 /// <param name="nameInputViewCommand"></param>
 /// <param name="difficultyLevelScaleService"></param>
 public DifficultyLevelScaleManagementViewModel(NameInputViewCommand nameInputViewCommand, IDifficultyLevelScaleService difficultyLevelScaleService)
 {
     _nameInputViewCommand = nameInputViewCommand;
     _difficultyLevelScaleService = difficultyLevelScaleService;
 }