Example #1
0
 public SimpleTableReport()
 {
     _columns = new ArrayList();
     _et      = new ElapsedTimer();
     _et.Start(DateTime.Now);
     StyleList  = new ArrayList();
     _body      = new DataTable();
     _cols      = Body.Columns;
     AnnounceIt = true;
 }
Example #2
0
 /// <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;
 }
Example #3
0
 /// <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;
 }
Example #4
0
        /// <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 ));
        }
Example #5
0
        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
            }
        }
        /// <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 ));
        }
 /// <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;
 }
 public SimpleTableReport()
 {
     _columns = new ArrayList();
      _et = new ElapsedTimer();
      _et.Start(DateTime.Now);
      StyleList = new ArrayList();
      _body = new DataTable();
      _cols = Body.Columns;
      AnnounceIt = true;
 }