public string GetFileStreamName(AspNetCore.ReportingServices.OnDemandReportRendering.RenderingContext renderingContext, string url)
        {
            string           text          = null;
            OnDemandMetadata odpMetadata   = renderingContext.OdpContext.OdpMetadata;
            ShapefileInfo    shapefileInfo = default(ShapefileInfo);

            if (odpMetadata.TryGetShapefile(url, out shapefileInfo))
            {
                if (shapefileInfo.ErrorOccurred)
                {
                    return(null);
                }
                text = shapefileInfo.StreamName;
            }
            else
            {
                byte[] array = default(byte[]);
                if (!this.GetFileData(renderingContext, url, out array) || array == null)
                {
                    shapefileInfo = new ShapefileInfo(null);
                    shapefileInfo.ErrorOccurred = true;
                }
                else
                {
                    text          = this.StoreShapefileInChunk(renderingContext, array);
                    shapefileInfo = new ShapefileInfo(text);
                }
                odpMetadata.AddShapefile(url, shapefileInfo);
            }
            return(text);
        }
        internal string GetFileStreamName(Microsoft.ReportingServices.OnDemandReportRendering.RenderingContext renderingContext, string url)
        {
            string           text        = null;
            OnDemandMetadata odpMetadata = renderingContext.OdpContext.OdpMetadata;

            if (odpMetadata.TryGetShapefile(url, out ShapefileInfo shapefileInfo))
            {
                if (shapefileInfo.ErrorOccurred)
                {
                    return(null);
                }
                text = shapefileInfo.StreamName;
            }
            else
            {
                if (!GetFileData(renderingContext, url, out byte[] data) || data == null)