Ejemplo n.º 1
0
        public IIndex GetIndex(string indexName, Type indexClass)
        {
            IndexableGraphContract.ValidateGetIndex(indexName, indexClass);

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

            return(new ReadOnlyIndex(this, index));
        }
Ejemplo n.º 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));
        }