Beispiel #1
0
 private void SaveLegacyMetadataFile(IEnumerable <MetadataRecord> records)
 {
     using (LegacyMetadataFile metadataFile = new LegacyMetadataFile(m_baseFileName))
     {
         metadataFile.Write(records);
         metadataFile.Save();
     }
 }
Beispiel #2
0
        private void SaveLegacyMetadataFile()
        {
            using (LegacyMetadataFile metadataFile = new LegacyMetadataFile(m_baseFileName))
            {
                foreach (KeyValuePair <int, MetadataRecord> record in m_records)
                {
                    metadataFile.Write(record.Key, record.Value);
                }

                metadataFile.Save();
            }
        }