Beispiel #1
0
 private _SuppressedEvents(DocumentEditor editor)
 {
     this._Editor = editor;
     this._SuppressEventsValue    = this._Editor._SuppressEvents;
     this._Editor._SuppressEvents = true;
 }
Beispiel #2
0
 void IDisposable.Dispose()
 {
     this._Editor._SuppressEvents = this._SuppressEventsValue;
     this._Editor = null;
 }
Beispiel #3
0
 public static IDisposable Scope(DocumentEditor editor)
 {
     return(new _SuppressedEvents(editor));
 }