public bool TryGetCachedReportSourceWeb(string reportName, out CachedReportSourceWeb cachedReportSourceWeb)
        {
            var report = reportResolver.Resolve(reportName);

            if (report != null)
            {
                cachedReportSourceWeb = new CachedReportSourceWeb(report);
                return(true);
            }
            cachedReportSourceWeb = null;
            return(false);
        }
예제 #2
0
        public bool TryGetCachedReportSourceWeb(string reportName, out CachedReportSourceWeb cachedReportSource)
        {
            var report = ReportSource.GetReport(reportName);

            if (report == null)
            {
                cachedReportSource = null;
                return(false);
            }

            cachedReportSource = new CachedReportSourceWeb(report);
            return(true);
        }