Exemplo n.º 1
0
 public ReportItem getReport(Run r)
 {
     return (from ReportItem rep in Reports
             where rep.Name == r.Name
             select rep).FirstOrDefault();
 }
Exemplo n.º 2
0
 public ReportItem(Run r)
 {
     Name = r.Name;
     totalCalls++;
     aggregateTime += r.totalMs;
     lowTime = r.totalMs;
     highTime = r.totalMs;
 }
Exemplo n.º 3
0
        public void UpdateReportItem(Run r)
        {
            totalCalls++;
            aggregateTime += r.totalMs;

            if (r.totalMs < lowTime)
                lowTime = r.totalMs;

            if (r.totalMs > highTime)
                highTime = r.totalMs;
        }
Exemplo n.º 4
0
 public ReportItem getReport(Run r)
 {
     return((from ReportItem rep in Reports
             where rep.Name == r.Name
             select rep).FirstOrDefault());
 }