Example #1
0
        internal QuickFindHashtable GetQuickFind(ChunkManager.RenderingChunkManager chunkManager)
        {
            IntermediateFormatReader intermediateFormatReader = null;

            if (m_quickFind != null)
            {
                if (!(m_quickFind is OffsetInfo))
                {
                    return((QuickFindHashtable)m_quickFind);
                }
                intermediateFormatReader = chunkManager.GetReaderForSpecialChunk(((OffsetInfo)m_quickFind).Offset);
            }
            else
            {
                intermediateFormatReader = chunkManager.GetSpecialChunkReader(ChunkManager.SpecialChunkName.QuickFind);
            }
            return(intermediateFormatReader?.ReadQuickFindHashtable());
        }
        public QuickFindHashtable GetQuickFind(ChunkManager.RenderingChunkManager chunkManager)
        {
            IntermediateFormatReader intermediateFormatReader = null;

            if (this.m_quickFind != null)
            {
                if (this.m_quickFind is OffsetInfo)
                {
                    intermediateFormatReader = chunkManager.GetReaderForSpecialChunk(((OffsetInfo)this.m_quickFind).Offset);
                    goto IL_0044;
                }
                return((QuickFindHashtable)this.m_quickFind);
            }
            intermediateFormatReader = chunkManager.GetSpecialChunkReader(ChunkManager.SpecialChunkName.QuickFind);
            goto IL_0044;
IL_0044:
            if (intermediateFormatReader != null)
            {
                return(intermediateFormatReader.ReadQuickFindHashtable());
            }
            return(null);
        }