private void RemoveWriteBatch(ClusterDB.WriteBatch toRemove) { int num = this.openWriteBatches.IndexOf(toRemove); if (num >= 0) { this.openWriteBatches.RemoveAt(num); } }
public IClusterDBWriteBatch CreateWriteBatch(string registryKey) { ClusterDB.WriteBatch writeBatch = new ClusterDB.WriteBatch(this, registryKey); this.openWriteBatches.Add(writeBatch); return(writeBatch); }