private void NoteChanged(object sender, NoteChangedEventArgs e) { invSaveNotesLocal.Request(); invSaveNotesRemote.Request(); invSaveNotesGitBackup.Request(); listener.OnSyncRequest(); listener.OnNoteChanged(e); }
private void NoteChanged(object sender, NoteChangedEventArgs e) // only local changes { _invSaveNotesLocal.Request(); _invSaveNotesRemote.Request(); _invSaveNotesGitBackup.Request(); _listener.OnSyncRequest(); _listener.OnNoteChanged(e); }
public void UpdateAndRequestSave(Guid account, HierarchicalWrapper_Folder folders, DirectoryPath selectedFolderPath, string selectedNote) { LoggerSingleton.Inst.Trace("HierarchyConfigCache", $"Request Save (full)"); var dat = new HierarchyConfigData { SelectedFolder = selectedFolderPath, SelectedNote = selectedNote, Entry = folders.ToHCEntry() }; lock (_masterLock) { _data[account] = dat; } invSave.Request(); }
private void WatcherOnChanged(object sender, FileSystemEventArgs e) { if (_isSyncing) { return; } _invSyncRequest.Request(); LoggerSingleton.Inst.Debug("RawFolderSync", $"Filewatcher triggered with {e.ChangeType} for '{e.Name}'", e.FullPath); }
private void SearchTextInternalChanged() { var sdm = GetActualSearchDelayMode(); if (sdm == SearchDelayMode.Direct) { ApplyInternalSearchText(); } if (sdm == SearchDelayMode.Delayed) { _invSearch.Request(); } }
public void RequestSettingsSave() { _invSaveSettings.Request(); }
public void SetDirty() { invSave.Request(); }
public void SetDirty() { LoggerSingleton.Inst.Trace("ScrollCache", $"Request Save (SetDirty)"); invSave.Request(); }