示例#1
0
 public void Delete()
 {
     if (IsTempFile)
     {
         TemporaryFileRemover.Delete(Name);
     }
     else if (File.Exists(Name))
     {
         File.Delete(Name);
     }
 }
示例#2
0
 public void Dispose()
 {
     TemporaryFileRemover.Delete(_file);
     GC.SuppressFinalize(this);
 }