コード例 #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
ファイル: PipeLine.cs プロジェクト: Quarterback16/RosterLib
        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;
 }