Exemple #1
0
        static void Main(string[] args)
        {
            var fileIter = new MongodbStore();
            var fileOf   = new FileSystemQuestionSore("data");
            var up       = new synchronized(fileOf, fileIter);

            up.UpdateFileSystem();
            up.UpdateFileMdd();
            up.Update();
            return;
        }
 public synchronized(FileSystemQuestionSore systemStore, MongodbStore mDBStore)
 {
     system = systemStore;
     mdb    = mDBStore;
 }