コード例 #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!disposed && disposing)
     {
         StoreStream.Close();
         StoreStream.Dispose();
     }
     disposed = true;
 }
コード例 #2
0
 virtual public void Clear()
 {
     StoreStream.Close();
     File.Delete(StoreStream.Name);
     StoreStream = new FileStream(StoreStream.Name, FileMode.Create);
 }