public SimpleTableReport() { _columns = new ArrayList(); _et = new ElapsedTimer(); _et.Start(DateTime.Now); StyleList = new ArrayList(); _body = new DataTable(); _cols = Body.Columns; AnnounceIt = true; }
/// <summary> /// Report with a header and a footer /// </summary> /// <param name="header"></param> /// <param name="footer"></param> public SimpleTableReport(string header, string footer) { ReportHeader = header; ReportFooter = footer; _columns = new ArrayList(); _et = new ElapsedTimer(); _et.Start(DateTime.Now); StyleList = new ArrayList(); _body = new DataTable(); _cols = Body.Columns; SubHeader = string.Empty; }
/// <summary> /// No footer /// </summary> /// <param name="header"></param> public SimpleTableReport(string header) { _header = header; _footer = String.Empty; _columns = new ArrayList(); _et = new ElapsedTimer(); _et.Start(DateTime.Now); StyleList = new ArrayList(); _body = new DataTable(); _cols = _body.Columns; SubHeader = string.Empty; AnnounceIt = true; }
/// <summary> /// No footer /// </summary> /// <param name="header"></param> public SimpleTableReport(string header) { _header = header; _footer = String.Empty; _columns = new ArrayList(); _et = new ElapsedTimer(); _et.Start(DateTime.Now); StyleList = new ArrayList(); _body = new DataTable(); _cols = _body.Columns; SubHeader = string.Empty; //RosterLib.Utility.Announce(string.Format("SimpleTableReport {0} created", header )); }
public void Execute(T input) { #if DEBUG var _et = new ElapsedTimer(); var stepNo = 0; #endif foreach (var action in _actions) { #if DEBUG _et.Start(DateTime.Now); stepNo++; #endif action.Invoke(input); #if DEBUG _et.Stop(DateTime.Now); Utility.Announce(string.Format("Step {1} took {0} ", _et.TimeOut(), stepNo)); #endif } }