public MainWindowViewModel(INsPlannerSettings nsPlannerSettings, IEnumerable <IStepViewModel> stepViewModels, IOptionsWindowViewModel optionsWindowViewModel) { _nsPlannerSettings = nsPlannerSettings; _optionsWindowViewModel = optionsWindowViewModel; StepViewModels = new ObservableCollection <IStepViewModel>(stepViewModels.OrderBy(x => x.Order)); }
public OptionsWindowViewModel(INsPlannerSettings nsPlannerSettings) { _nsPlannerSettings = nsPlannerSettings; ProjectListLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "NsPlanner3"); }