public void Dispose()
 {
     this.lineSizeCollection.ResumeUpdates();
     this.lineSizeCollection = null;
 }
 public LineSizeCollectionDisposable(LineSizeCollection lineSizeCollection)
 {
     this.lineSizeCollection = lineSizeCollection;
     this.lineSizeCollection.SuspendUpdates();
 }