示例#1
0
        private InMemoryIndex ConvertToInMemoryIndex(NeedleIndex[] needleIndex)
        {
            var idx = new InMemoryIndex
            {
                PhotoKey = needleIndex[0].Key
            };

            idx.AddAll(needleIndex);

            return idx;
        }
示例#2
0
        private InMemoryIndex ConvertToInMemoryIndex(NeedleIndex[] needleIndex)
        {
            var idx = new InMemoryIndex
            {
                PhotoKey = needleIndex[0].Key
            };

            idx.AddAll(needleIndex);

            return(idx);
        }