Esempio n. 1
0
 internal void ClearAutoSave()
 {
     if (this._autoSaver != null)
     {
         this._autoSaver.Dispose();
         this._autoSaver = null;
     }
     this._modifiedSinceLastAutoSave = false;
 }
Esempio n. 2
0
 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;
         }
     }
 }
Esempio n. 3
0
 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;
         }
     }
 }
Esempio n. 4
0
 internal void ClearAutoSave()
 {
     if (this._autoSaver != null)
     {
         this._autoSaver.Dispose();
         this._autoSaver = null;
     }
     this._modifiedSinceLastAutoSave = false;
 }