Beispiel #1
0
        /// <summary>
        /// Create real cache enumerator.
        /// </summary>
        /// <param name="loc">Local flag.</param>
        /// <param name="peekModes">Peek modes for local enumerator.</param>
        /// <returns>Cache enumerator.</returns>
        internal CacheEnumerator <TK, TV> CreateEnumerator(bool loc, int peekModes)
        {
            if (loc)
            {
                return(new CacheEnumerator <TK, TV>(UU.CacheLocalIterator(Target, peekModes), Marshaller, _flagKeepBinary));
            }

            return(new CacheEnumerator <TK, TV>(UU.CacheIterator(Target), Marshaller, _flagKeepBinary));
        }