protected JurisdictionViewModel(IRepositoryFactory <IOrderRepository> repositoryFactory, IRepositoryFactory <ICountryRepository> countryRepositoryFactory, IOrderEntityFactory entityFactory, JurisdictionTypes jurisdictionType, Jurisdiction item) : base(entityFactory, item, true) { _repositoryFactory = repositoryFactory; _countryRepositoryFactory = countryRepositoryFactory; _jurisdictionType = jurisdictionType; }
public JurisdictionGroupSettingsViewModel(IRepositoryFactory <IOrderRepository> repositoryFactory, IOrderEntityFactory entityFactory, IViewModelsFactory <ICreateJurisdictionGroupViewModel> wizardVmFactory, IViewModelsFactory <IJurisdictionGroupViewModel> editVmFactory, JurisdictionTypes jurisdictionType) : base(entityFactory, wizardVmFactory, editVmFactory) { _repositoryFactory = repositoryFactory; _jurisdictionType = jurisdictionType; ItemDuplicateCommand = new DelegateCommand <JurisdictionGroup>(RaiseItemDuplicateInteractionRequest); }
public JurisdictionGroupViewModel(IRepositoryFactory <IOrderRepository> repositoryFactory, IOrderEntityFactory entityFactory, INavigationManager navManager, IHomeSettingsViewModel parent, JurisdictionTypes jurisdictionType, JurisdictionGroup item) : base(entityFactory, item, false) { _repositoryFactory = repositoryFactory; _parent = parent; _navManager = navManager; _jurisdictionType = jurisdictionType; ViewTitle = new ViewTitleBase { SubTitle = "SETTINGS".Localize(null, LocalizationScope.DefaultCategory), Title = "Jurisdiction Group" }; OpenItemCommand = new DelegateCommand(() => _navManager.Navigate(NavigationData)); }
public JurisdictionSettingsViewModel( IRepositoryFactory <IOrderRepository> repositoryFactory, IOrderEntityFactory entityFactory, IViewModelsFactory <ICreateJurisdictionViewModel> wizardVmFactory, IViewModelsFactory <IJurisdictionViewModel> editVmFactory, JurisdictionTypes jurisdictionType, ICountryRepository countryRepository) : base(entityFactory, wizardVmFactory, editVmFactory) { _jurisdictionType = jurisdictionType; _repositoryFactory = repositoryFactory; AllCountries = countryRepository.Countries.ToList(); ItemDuplicateCommand = new DelegateCommand <Jurisdiction>(RaiseItemDuplicateInteractionRequest); }
public JurisdictionOverviewStepViewModel(IRepositoryFactory<IOrderRepository> repositoryFactory, IRepositoryFactory<ICountryRepository> countryRepositoryFactory, IOrderEntityFactory entityFactory, JurisdictionTypes jurisdictionType, Jurisdiction item) : base(repositoryFactory, countryRepositoryFactory, entityFactory, jurisdictionType, item) { }
public CreateJurisdictionViewModel(IViewModelsFactory<IJurisdictionOverviewStepViewModel> vmFactory, JurisdictionTypes jurisdictionType, Jurisdiction item) { RegisterStep(vmFactory.GetViewModelInstance( new KeyValuePair<string, object>("item", item) , new KeyValuePair<string, object>("jurisdictionType", jurisdictionType))); }
protected JurisdictionGroupViewModel(IRepositoryFactory <IOrderRepository> repositoryFactory, IOrderEntityFactory entityFactory, JurisdictionTypes jurisdictionType, JurisdictionGroup item) : base(entityFactory, item, true) { _repositoryFactory = repositoryFactory; _jurisdictionType = jurisdictionType; }
public JurisdictionGroupOverviewStepViewModel(IRepositoryFactory <IOrderRepository> repositoryFactory, IOrderEntityFactory entityFactory, JurisdictionTypes jurisdictionType, JurisdictionGroup item) : base(repositoryFactory, entityFactory, jurisdictionType, item) { }
public CreateJurisdictionGroupViewModel(IViewModelsFactory <IJurisdictionGroupOverviewStepViewModel> vmFactory, JurisdictionTypes jurisdictionType, JurisdictionGroup item) { RegisterStep(vmFactory.GetViewModelInstance( new KeyValuePair <string, object>("item", item) , new KeyValuePair <string, object>("jurisdictionType", jurisdictionType))); }
public JurisdictionOverviewStepViewModel(IRepositoryFactory <IOrderRepository> repositoryFactory, IRepositoryFactory <ICountryRepository> countryRepositoryFactory, IOrderEntityFactory entityFactory, JurisdictionTypes jurisdictionType, Jurisdiction item) : base(repositoryFactory, countryRepositoryFactory, entityFactory, jurisdictionType, item) { }
public JurisdictionGroupOverviewStepViewModel(IRepositoryFactory<IOrderRepository> repositoryFactory, IOrderEntityFactory entityFactory, JurisdictionTypes jurisdictionType, JurisdictionGroup item) : base(repositoryFactory, entityFactory, jurisdictionType, item) { }