Пример #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;
 }
Пример #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;
 }
Пример #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;
 }
Пример #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 ));
        }
Пример #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
            }
        }
Пример #6
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 ));
        }
Пример #7
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;
 }
Пример #8
0
 public SimpleTableReport()
 {
     _columns = new ArrayList();
      _et = new ElapsedTimer();
      _et.Start(DateTime.Now);
      StyleList = new ArrayList();
      _body = new DataTable();
      _cols = Body.Columns;
      AnnounceIt = true;
 }