Esempio n. 1
0
        protected override void PrepareCatalogue(Catalogue catalogue)
        {
            // Check that the file exists.

            if (File.Exists(InitialisationString))
            {
                // Create a catalogue reader for the file.

                IRepositoryReader reader = CreateReader();
                CatalogueCopier.Copy(catalogue, reader.Read(), ReadOnlyOption.Clear);
            }
        }
Esempio n. 2
0
 void IRepositoryWriter.Write(EventType eventType)
 {
     CatalogueCopier.Copy(GetCatalogue(), eventType, ReadOnlyOption.Clear, false);
 }
Esempio n. 3
0
 void IRepositoryWriter.Write(Source source)
 {
     CatalogueCopier.Copy(GetCatalogue(), source, ReadOnlyOption.Clear, false);
 }
Esempio n. 4
0
 void IRepositoryWriter.Write(Namespace ns, bool iterate)
 {
     CatalogueCopier.Copy(GetCatalogue(), ns, ReadOnlyOption.Clear, false, iterate);
 }
Esempio n. 5
0
 void IRepositoryWriter.Write(Catalogue catalogue)
 {
     CatalogueCopier.Copy(GetCatalogue(), catalogue, ReadOnlyOption.Clear, false);
 }