public SelectProjectViewModelFactory(IEventAggregator EventAggregator, ILoadProjectService LoadProjectService, IRecentProjectsService RecentProjectsService, RecentProjectViewModelFactory RecentProjectViewModelFactory) { _eventAggregator = EventAggregator; _loadProjectService = LoadProjectService; _recentProjectsService = RecentProjectsService; _recentProjectViewModelFactory = RecentProjectViewModelFactory; }
public SilentPacker(ILaunchParameters LaunchParameters, IPackageSavingTool SavingTool, IProjectSerializer ProjectSerializer, IVariablesProcessor VariablesProcessor, IRecentProjectsService RecentProjectsService) { _launchParameters = LaunchParameters; _savingTool = SavingTool; _projectSerializer = ProjectSerializer; _variablesProcessor = VariablesProcessor; _recentProjectsService = RecentProjectsService; }
public MainViewModel(FirmwareVersionViewModel Version, ProjectViewModel Project, IPackageSavingService PackageSavingService, IRecentProjectsService RecentProjectsService) { this.Project = Project; _packageSavingService = PackageSavingService; _recentProjectsService = RecentProjectsService; this.Version = Version; SaveCommand = new DelegateCommand(Save, Verify); SaveFileRequest = new InteractionRequest<SaveFileInteractionContext>(); }
public RootViewModelFactory(MainViewModelFactory MainViewModelFactory, SelectProjectViewModelFactory SelectProjectViewModelFactory, IEventAggregator EventAggregator, ILaunchParameters LaunchParameters, ILoadProjectService LoadProjectService, IRecentProjectsService RecentProjectsService, IPackageSavingService PackageSavingService) { _mainViewModelFactory = MainViewModelFactory; _eventAggregator = EventAggregator; _selectProjectViewModelFactory = SelectProjectViewModelFactory; _launchParameters = LaunchParameters; _loadProjectService = LoadProjectService; _recentProjectsService = RecentProjectsService; _packageSavingService = PackageSavingService; }
public RootViewModel(MainViewModelFactory MainViewModelFactory, SelectProjectViewModelFactory SelectProjectViewModelFactory, IEventAggregator EventAggregator, ILaunchParameters LaunchParameters, ILoadProjectService LoadProjectService, IRecentProjectsService RecentProjectsService, IPackageSavingService PackageSavingService) { _mainViewModelFactory = MainViewModelFactory; _launchParameters = LaunchParameters; _loadProjectService = LoadProjectService; _recentProjectsService = RecentProjectsService; _packageSavingService = PackageSavingService; ActualViewModel = GetDefaultViewModel(SelectProjectViewModelFactory); EventAggregator.GetEvent<ProjectLoadedEvent>().Subscribe(ReloadViewModel); }
public MainViewModelFactory(IPackageSavingService PackageSavingService, IRecentProjectsService RecentProjectsService) { _packageSavingService = PackageSavingService; _recentProjectsService = RecentProjectsService; }