Beispiel #1
0
 /// <summary>
 /// Disposes of the readonly lists used by the dataset.
 /// </summary>
 /// <param name="disposing">True if the calling method is Dispose, false for the finaliser.</param>
 protected virtual void Dispose(bool disposing)
 {
     if (Values != null)
     {
         Values.Dispose();
     }
     if (Signatures != null)
     {
         Signatures.Dispose();
     }
     if (ProfileOffsets != null)
     {
         ProfileOffsets.Dispose();
     }
     if (Profiles != null)
     {
         Profiles.Dispose();
     }
     if (Nodes != null)
     {
         Nodes.Dispose();
     }
     if (RootNodes != null)
     {
         RootNodes.Dispose();
     }
     if (Strings != null)
     {
         Strings.Dispose();
     }
     _disposed = true;
     GC.SuppressFinalize(this);
 }