Example #1
0
 public virtual void Dispose()
 {
     if (this.dataFiles != null)
     {
         try {
             foreach (DataFileBase file in this.dataFiles)
             {
                 try {
                     file.Dispose();
                 } catch {}
             }
             this.dataFiles.Clear();
         } catch {}
         this.dataFiles = null;
     }
 }
Example #2
0
 public DataRepositoryBase(string dir)
 {
     this._dir      = dir;
     this.dataFiles = new DataFileCollection();
 }