public PropertiesFileListViewModel(IFileService fileService, IPropertiesFileService propertiesFileService, EventAggregator eventAggregator, Factory factory) { _factory = factory; _fileService = fileService; _propertiesFileService = propertiesFileService; _eventAggregator = eventAggregator; _eventAggregator.GetEvent <PubSubEvent <AddedPropertiesFileEvent> >().Subscribe(OnAddedPropertiesFile); _eventAggregator.GetEvent <PubSubEvent <RemovedPropertiesFileEvent> >().Subscribe(OnRemovedPropertiesFile); }
public ExcelExportService(IPropertiesFileService propertiesFileService, IPropertyFileValidationService propertyFileValidationService) { _propertiesFileService = propertiesFileService; _propertyFileValidationService = propertyFileValidationService; }
public FileViewModel(IPropertiesFile propFile, IPropertiesFileService propertiesFileService) { _propertiesFile = propFile; _propertiesFileService = propertiesFileService; }