public IIndex GetIndex(string indexName, Type indexClass) { IndexableGraphContract.ValidateGetIndex(indexName, indexClass); var index = _baseIndexableGraph.GetIndex(indexName, indexClass); return(new ReadOnlyIndex(this, index)); }
public IIndex GetIndex(string indexName, Type indexClass) { IndexableGraphContract.ValidateGetIndex(indexName, indexClass); var index = _baseIndexableGraph.GetIndex(indexName, indexClass); return(null == index ? null : new WrappedIndex(index)); }
public IIndex GetIndex(string indexName, Type indexClass) { IndexableGraphContract.ValidateGetIndex(indexName, indexClass); var index = BaseIndexableGraph.GetIndex(indexName, indexClass); return(null == index ? null : new PartitionIndex(index, this)); }