internal void ClearAutoSave() { if (this._autoSaver != null) { this._autoSaver.Dispose(); this._autoSaver = null; } this._modifiedSinceLastAutoSave = false; }
public void AutoSave(bool evenIfRecentlySaved) { lock (this._autoSaveLock) { if (((!this._isDisposed && this.IsModified) && this._modifiedSinceLastAutoSave) && (this.Source.Length >= 2)) { if (this._autoSaver == null) { this._autoSaver = new AutoSaver.AutoSaveToken(this); } this._autoSaver.Save(evenIfRecentlySaved); this._modifiedSinceLastAutoSave = false; } } }
public void AutoSave(bool evenIfRecentlySaved) { lock (this._autoSaveLock) { if (((!this._isDisposed && this.IsModified) && this._modifiedSinceLastAutoSave) && (this.Source.Length >= 2)) { if (this._autoSaver == null) { this._autoSaver = new AutoSaver.AutoSaveToken(this); } this._autoSaver.Save(evenIfRecentlySaved); this._modifiedSinceLastAutoSave = false; } } }
internal void ClearAutoSave() { if (this._autoSaver != null) { this._autoSaver.Dispose(); this._autoSaver = null; } this._modifiedSinceLastAutoSave = false; }