Пример #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing && this.streamWriter != null)
     {
         this.streamWriter.Dispose();
         this.streamWriter = null;
     }
     base.Dispose(disposing);
 }
Пример #2
0
 public StreamWriterRollingHelper(RollingLogStreamWriter owner)
 {
     this.owner = owner;
     this.UpdateRollingInformationIfNecessary();
 }