public MemoryListener(ISettings settings, ISaver saver, IContextAwareLogger logger) { _settings = settings; _settings.SettingUpdated += SettingUpdated; _memoryDataProcessor = new MemoryDataProcessor(settings, logger); _patternsDispatcher = new PatternsDispatcher(settings, saver); _memoryDataProcessor.TokensUpdated += (_, status) => _patternsDispatcher.TokensUpdated(status); _memoryDataProcessor.ToggleSmoothing(_settings.Get <bool>(Helpers.EnablePpSmoothing)); }
public MemoryListener(string songsFolderLocation) { _memoryDataProcessor = new MemoryDataProcessor(songsFolderLocation); }
public MemoryListener() { _memoryDataProcessor = new MemoryDataProcessor(); }
public MemoryListener() { _memoryDataProcessor = new MemoryDataProcessor(); _patternsDispatcher = new PatternsDispatcher(); _memoryDataProcessor.TokensUpdated += (_, status) => _patternsDispatcher.TokensUpdated(status); }