示例#1
0
        public IIndex GetIndex(string indexName, Type indexClass)
        {
            IndexableGraphContract.ValidateGetIndex(indexName, indexClass);

            var index = _baseIndexableGraph.GetIndex(indexName, indexClass);

            return(new ReadOnlyIndex(this, index));
        }
示例#2
0
        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));
        }