示例#1
0
 /// <summary>
 /// Disposes of underlying resources.
 /// </summary>
 /// <param name="disposing">Set to <c>true</c> if called within Dispose(),
 /// else <c>false</c>.</param>
 protected override void Dispose(bool disposing)
 {
     try
     {
         if (disposing)
         {
             if (_file != null)
             {
                 _file.Dispose();
             }
             _file = null;
         }
     }
     finally
     {
         base.Dispose(disposing);
     }
 }