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