/// <summary> /// Gets an index by the column name, populating it if necessary. /// </summary> public bool TryGetIndex(string columnName, out ITableIndex index) { if (Indexes.TryGetValue(columnName, out index)) { lock (index) { if (!index.IsReady) { index.AddRangeToIndex(Items); } } return(true); } else { index = null; return(false); } }