private static ReportingSchema GetReportingSchema() { HttpContext httpContext = HttpContext.Current; string currentReportingVersion = ReportingVersion.GetCurrentReportingVersion(httpContext); return(ReportingSchema.GetReportingSchema(currentReportingVersion)); }
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); }