示例#1
0
        private void Dispose()
        {
            if (RecordWriter != null)
            {
                RecordWriter.Close();
                RecordWriter.Dispose();
            }

            try
            {
                File.Move(FilePath, GetNewFilePath(FilePath));
            }
            catch (IOException)
            {
                //
            }
        }