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); } }
void IRepositoryWriter.Write(EventType eventType) { CatalogueCopier.Copy(GetCatalogue(), eventType, ReadOnlyOption.Clear, false); }
void IRepositoryWriter.Write(Source source) { CatalogueCopier.Copy(GetCatalogue(), source, ReadOnlyOption.Clear, false); }
void IRepositoryWriter.Write(Namespace ns, bool iterate) { CatalogueCopier.Copy(GetCatalogue(), ns, ReadOnlyOption.Clear, false, iterate); }
void IRepositoryWriter.Write(Catalogue catalogue) { CatalogueCopier.Copy(GetCatalogue(), catalogue, ReadOnlyOption.Clear, false); }