/// <summary> /// /// </summary> /// <param name="report"></param> public MissingDataReport(BaseReport report) : base(report.ReportInformation, typeof(T)) { this.report = report; }
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); }
public static BaseReport FromReportId(Guid id) { return(BaseReport.FromReportId(id)); }
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); }