示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="report"></param>
 public MissingDataReport(BaseReport report)
     : base(report.ReportInformation, typeof(T))
 {
     this.report = report;
 }
示例#2
0
 public MonthlyReportData(BaseReport report, DateTime timeReference)
     : this(report, timeReference.Month, timeReference.Year)
 {
     //Sanity check... ensure the time refrence given is valid in the context of the report
     DateUtility.ValidateYear(report, timeReference);
 }
示例#3
0
 public static BaseReport FromReportId(Guid id)
 {
     return(BaseReport.FromReportId(id));
 }
示例#4
0
 public static BaseReport FromBinary(byte[] data)
 {
     return(BaseReport.Deserialize(data));
 }
 /// <summary>
 /// Instantiates a YearlyReportData Class for the Given report and Year
 /// </summary>
 /// <param name="report">The BaseReport to which the data corresponds</param>
 /// <param name="timeReference">The DateTime which  is set to the Year the data corresponds</param>
 public YearlyReportData(BaseReport report, DateTime timeReference)
     : this(report, timeReference.Year)
 {
     DateUtility.ValidateYear(report, timeReference);
 }