예제 #1
0
        public static void close(Repository db)
        {
			if (db == null)
				throw new System.ArgumentNullException ("db");
			
            Cache.unregisterRepository(FileKey.exact(db.Directory));
        }
예제 #2
0
        public static void register(Repository db)
        {
            if (db == null)
            {
                throw new System.ArgumentNullException("db");
            }

            Cache.registerRepository(FileKey.exact(db.Directory), db);
        }
예제 #3
0
 public static void close(Repository db)
 {
     Cache.unregisterRepository(FileKey.exact(db.Directory));
 }
예제 #4
0
 public static void register(Repository db)
 {
     Cache.registerRepository(FileKey.exact(db.Directory), db);
 }