public void CloseExportDataFile() { if (_exportDataWriter != null) { _exportDataWriter.Close(); _exportDataWriter = null; } }
public void OpenExportDataFile() { CloseExportDataFile(); if (_exportDataFile != null) { _exportDataWriter = PBBsonWriter.Open(_exportDataFile, append: true); } }