public MissingDependenciesConfigurationValidator(IFormatterEditorFactory formatterEditorFactory, ILocalizerService localizerService, ISharedResourcesGlobalViewModel sharedResourcesGlobalViewModel, IDependenciesService dependenciesService, DependencyFillHelper dependencyFillHelper) { _formatterEditorFactory = formatterEditorFactory; _localizerService = localizerService; _sharedResourcesGlobalViewModel = sharedResourcesGlobalViewModel; _dependenciesService = dependenciesService; _dependencyFillHelper = dependencyFillHelper; }
public AnalogMeasuringElementEditorViewModel(IFormatterEditorFactory formatterEditorFactory, IApplicationGlobalCommands applicationGlobalCommands, IDependenciesService dependenciesService, ISharedResourcesGlobalViewModel sharedResourcesGlobalViewModel) { _formatterEditorFactory = formatterEditorFactory; _applicationGlobalCommands = applicationGlobalCommands; _dependenciesService = dependenciesService; _sharedResourcesGlobalViewModel = sharedResourcesGlobalViewModel; ShowFormatterParametersCommand = new RelayCommand(OnShowFormatterParametersExecute); ShowDependenciesCommand = new RelayCommand(OnShowDependenciesExecute); }
public RegexConditionsValidator(IFormatterEditorFactory formatterEditorFactory, ILocalizerService localizerService, ISharedResourcesGlobalViewModel sharedResourcesGlobalViewModel, IDependenciesService dependenciesService, DependencyFillHelper dependencyFillHelper, IFormatterInfoService formatterInfoService) { _formatterEditorFactory = formatterEditorFactory; _localizerService = localizerService; _sharedResourcesGlobalViewModel = sharedResourcesGlobalViewModel; _dependenciesService = dependenciesService; _dependencyFillHelper = dependencyFillHelper; _formatterInfoService = formatterInfoService; }
public PackagesController( IPackagesService packages, IArchitecturesService architectures, ILicensesService licenses, IRepositoriesService repositories, IDistributionsService distros, IScreenshotsService screenshots, IDependenciesService dependencies) { this.packages = packages; this.architectures = architectures; this.licenses = licenses; this.repositories = repositories; this.distros = distros; this.screenshots = screenshots; this.dependencies = dependencies; }
public DependencyWindowService( IDependenciesService dependenciesService, IModelService modelService, Lazy <IModelNotifications> modelNotifications, IMessage message, ILocateNodeService locateNodeService, ICodeViewService codeViewService, Func <Node, Line, DependencyExplorerWindow> dependencyExplorerWindowProvider) { this.dependenciesService = dependenciesService; this.modelService = modelService; this.modelNotifications = modelNotifications; this.message = message; this.locateNodeService = locateNodeService; this.codeViewService = codeViewService; this.dependencyExplorerWindowProvider = dependencyExplorerWindowProvider; }
public ConfigurationEditorViewModel( IApplicationGlobalCommands applicationGlobalCommands, Func <IElementAddingCommand> elementAddingCommandAddingFunc, IFormatterEditorFactory formatterEditorFactory, IFragmentSettingsViewModel fragmentSettingsViewModel, ISharedResourcesGlobalViewModel sharedResourcesGlobalViewModel, IDependenciesService dependenciesService, DependencyFillHelper dependencyFillHelper, BaseValuesFillHelper baseValuesFillHelper, ImportPropertiesFromExcelTypeAHelper importPropertiesFromExcelTypeAHelper ) { _allRows = new ObservableCollection <IConfigurationItemViewModel>(); _applicationGlobalCommands = applicationGlobalCommands; _formatterEditorFactory = formatterEditorFactory; _sharedResourcesGlobalViewModel = sharedResourcesGlobalViewModel; _dependenciesService = dependenciesService; _dependencyFillHelper = dependencyFillHelper; _baseValuesFillHelper = baseValuesFillHelper; _importPropertiesFromExcelTypeAHelper = importPropertiesFromExcelTypeAHelper; FragmentSettingsViewModel = fragmentSettingsViewModel; RootConfigurationItemViewModels = new ObservableCollection <IConfigurationItemViewModel>(); ElementsAddingCommandCollection = new ObservableCollection <IElementAddingCommand>(); AddRootElementCommand = new RelayCommand(OnAddRootElement); AddRootGroupElementCommand = new RelayCommand(OnAddRootGroupElementExecute); IElementAddingCommand command = elementAddingCommandAddingFunc(); command.Name = "AddChildElement"; command.AddingCommand = new RelayCommand(OnAddChildElementExecute, CanExecuteAddChildElement); ElementsAddingCommandCollection.Add(command); command = elementAddingCommandAddingFunc(); command.Name = "AddChildGroup"; command.AddingCommand = new RelayCommand(OnAddChildGroupElementExecute, CanExecuteAddChildGroupElement); ElementsAddingCommandCollection.Add(command); EditElementCommand = new RelayCommand(OnEditElementExecute, CanExecuteEditElement); DeleteElementCommand = new RelayCommand(OnDeleteElementExecute, CanExecuteDeleteElement); ShowFormatterParametersCommand = new RelayCommand(OnShowFormatterParametersExecute, CanExecuteShowFormatterParameters); SetElementDownCommand = new RelayCommand(OnSetElementDownExecute, CanExecuteSetElementDown); SetElementUpCommand = new RelayCommand(OnSetElementUpExecute, CanExecuteSetElementUp); OpenConfigurationSettingsCommand = new RelayCommand(OnOpenConfigurationSettingsExecute); CopyElementCommand = new RelayCommand(OnCopyElementExecute, CanExecuteCopyElement); CutElementCommand = new RelayCommand(OnCutElementExecute, CanExecuteCutElement); PasteAsChildElementCommand = new RelayCommand(OnPasteAsChildElementExecute, CanPasteAsChildElementElement); AddSelectedElementAsResourceCommand = new RelayCommand(OnAddSelectedElementAsResourceExecute, CanExecuteAddSelectedElementAsResource); ShowDependenciesCommand = new RelayCommand(OnShowDependenciesExecute, CanExecuteShowDependencies); ShowFiltersCommand = new RelayCommand(OnShowFiltersExecute, CanExecuteShowFilters); EditDescriptionCommand = new RelayCommand(OnEditDescriptionExecute, CanExecuteEditDescription); IncreaseAddressCommand = new RelayCommand(() => OnChangeAddress(true), () => SelectedRows.All(model => model is IAddressChangeable)); DecreaseAddressCommand = new RelayCommand(() => OnChangeAddress(false), () => SelectedRows.All(model => model is IAddressChangeable)); AddDependencyToManyProps = new RelayCommand(OnAddDependencyToManyPropsExecute, CanExecuteAddDependencyToManyProps); TriggerAdditionalSettingsCommand = new RelayCommand(() => { IsAdditionalSettingsOpened = true; }); AddressIteratorValue = 1; OnSelectionChangedCommand = new RelayCommand <object>(OnSelectionChangedExecute); SelectedRows = new List <IEditorConfigurationItemViewModel>(); OpenBasicValuesCommand = new RelayCommand(OnOpenBasicValuesExacute); MigrateComplexPropertiesCommand = new RelayCommand(OnMigrateComplexPropertiesExecute); BaseValuesViewModel = new BaseValuesViewModel(); ImportPropertiesFromExcelTypeACommand = new RelayCommand(OnImportPropertiesFromExcelTypeAExecute); EditCommand = new RelayCommand(OnEditExecute); SetIsFromBitsToManyPropsViewModel = new SetIsFromBitsToManyPropsViewModel(this); }