public ServiceCollectionClass(IFolderDataService folderDataService, IMemeDataService memeDataService, IDialogService dialogService, INavigationService navigationService, DataStorage searchService, IMemeTagDataService memeTagDataService, ClientConfigService clientConfigService) { _folderDataService = folderDataService; _memeDataService = memeDataService; _dialogService = dialogService; _navigationService = navigationService; _dataStorage = searchService; _memeTagDataService = memeTagDataService; _clientConfigService = clientConfigService; }
public StatusMessagesService(ServiceCollectionClass services, MainWindow mainWindowV) { _mainWindowV = (IStatusMessagesProvider)mainWindowV; _navigationService = services._navigationService; _dialogService = services._dialogService; _memeTagDataService = services._memeTagDataService; _folderDataService = services._folderDataService; _memeDataService = services._memeDataService; //_dataStorage = services._dataStorage; //_dataStorage.OnAddFolder += _dataStorage_OnAddFolder; //_dataStorage.OnEditFolder += _dataStorage_OnEditFolder; //_dataStorage.OnRemoveFolder += _dataStorage_OnRemoveFolder; //_dataStorage.OnAddMeme += _dataStorage_OnAddMeme; //_dataStorage.OnEditMeme += _dataStorage_OnEditMeme; //_dataStorage.OnRemoveMeme += _dataStorage_OnRemoveMeme; //_dataStorage.OnAddMemeTag += _dataStorage_OnAddMemeTag; //_dataStorage.OnEditMemeTag += _dataStorage_OnEditMemeTag; //_dataStorage.OnRemoveMemeTag += _dataStorage_OnRemoveMemeTag; }