Ejemplo n.º 1
0
        public static ExpeditionDataSource BuildExpeditionDataSource(Library library, int num_topics, bool add_autotags, bool add_tags)
        {
            // Initialise the datasource
            ExpeditionDataSource data_source = new ExpeditionDataSource();

            data_source.date_created = DateTime.UtcNow;

            //...

            return(data_source);
        }
Ejemplo n.º 2
0
 public void RebuildExpedition(int num_topics, bool add_autotags, bool add_tags)
 {
     try
     {
         ExpeditionDataSource eds = ExpeditionBuilder.BuildExpeditionDataSource(Library, num_topics, add_autotags, add_tags);
         SerializeFile.SaveSafely(Filename_Store, eds);
         expedition_data_source = eds;
     }
     finally
     {
     }
     Logging.Info("-Rebuilding Expedition");
 }