コード例 #1
0
        private static ReportingSchema GetReportingSchema()
        {
            HttpContext httpContext             = HttpContext.Current;
            string      currentReportingVersion = ReportingVersion.GetCurrentReportingVersion(httpContext);

            return(ReportingSchema.GetReportingSchema(currentReportingVersion));
        }
コード例 #2
0
        public static ReportingSchema GetCurrentReportingSchema(HttpContext httpContext)
        {
            ReportingSchema schema = null;

            ElapsedTimeWatcher.Watch(RequestStatistics.RequestStatItem.GetReportingSchemaLatency, delegate
            {
                string currentReportingVersion = ReportingVersion.GetCurrentReportingVersion(httpContext);
                schema = ReportingSchema.GetReportingSchema(currentReportingVersion);
            });
            return(schema);
        }