protected override string Content(ReportData reportData, Dictionary <string, string> options) { if (null != reportData && null != reportData.CurrentSnapshot) { double?result = MeasureUtility.GetAddedFunctionPoint(reportData.CurrentSnapshot) + MeasureUtility.GetModifiedFunctionPoint(reportData.CurrentSnapshot) + MeasureUtility.GetDeletedFunctionPoint(reportData.CurrentSnapshot); return(result.HasValue ? result.Value.ToString("N0") : CastReporting.Domain.Constants.No_Value); } return(CastReporting.Domain.Constants.No_Value); }
public override string Content(ReportData reportData, Dictionary <string, string> options) { if (reportData?.CurrentSnapshot == null) { return(Domain.Constants.No_Value); } double?result = MeasureUtility.GetAddedFunctionPoint(reportData.CurrentSnapshot); return(result?.ToString("N0") ?? Domain.Constants.No_Value); }