public EditorMainViewmodel(IPictogramRepository pictogramRepository, IPublishService publishService, IImagePicker imagePicker) { _pictogramRepository = pictogramRepository; _publishService = publishService; _imagePicker = imagePicker; _images = new ObservableCollection <Image>(); _pictograms = new ObservableCollection <Pictogram>(); _ingredients = new ObservableCollection <Ingredient>(); _steps = new ObservableCollection <Step>(); }
public HazardousSubstancesService( IHazardousSubstancesRepository hazardousSubstancesRepository, IUserForAuditingRepository userForAuditingRepository, ISupplierRepository supplierRepository, IPictogramRepository pictogramRepository, IRiskPhraseRepository riskPhraseRepository, ISafetyPhraseRepository safetyPhraseRepository, IHazardousSubstanceRiskAssessmentRepository hazardousSubstanceRiskAssessmentRepository, IPeninsulaLog log) { _hazardousSubstancesRepository = hazardousSubstancesRepository; _userForAuditingRepository = userForAuditingRepository; _supplierRepository = supplierRepository; _pictogramRepository = pictogramRepository; _riskPhraseRepository = riskPhraseRepository; _safetyPhraseRepository = safetyPhraseRepository; _log = log; _hazardousSubstanceRiskAssessmentRepository = hazardousSubstanceRiskAssessmentRepository; }
public PictogramService(IPictogramRepository pictogramRepository) { this.pictogramRepository = pictogramRepository; }