public LargeObjectStore(int id, IStore store) { if (id < 0) { throw new ArgumentOutOfRangeException(nameof(id)); } Id = id; this.store = store ?? throw new ArgumentNullException(nameof(store)); fixedList = new FixedRecordList(store, 30); }
private void Dispose(bool disposing) { if (disposing) { if (fixedList != null) { fixedList.Dispose(); } } fixedList = null; store = null; }