예제 #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;
        }
예제 #2
0
 public synchronized(FileSystemQuestionSore systemStore, MongodbStore mDBStore)
 {
     system = systemStore;
     mdb    = mDBStore;
 }