protected MineralStoreWithRevoking(IRevokingDatabase revoking_database, string db_name, Type db_type) { this.db_name = db_name; this.revoking_db = new RevokingDBWithCaching(db_name, db_type); this.revoking_database = revoking_database; this.revoking_database.Add(this.revoking_db); }
protected MineralStoreWithRevoking(IRevokingDatabase revoking_database, string db_name) { this.db_name = db_name; this.revoking_db = new RevokingDBWithCaching(this.db_name, typeof(Core.Database2.Common.LevelDB)); this.revoking_database = revoking_database; this.revoking_database.Add(this.revoking_db); }
public void Add(IRevokingDB revoking_db) { RevokingDBWithCaching db = (RevokingDBWithCaching)revoking_db; this.databases.Add(db); }