Beispiel #1
0
 public void Flush()
 {
     if (FileStreams.IsNullOrEmpty())
     {
         return;
     }
     try
     {
         FileStreams.Values.ForEach(file => file.Dispose());
     }
     catch (Exception)
     {
         // TODO write exc to some console
     }
     finally
     {
         FileStreams.Clear();
         FilePath = null;
     }
 }