コード例 #1
0
        public override string Description()
        {
            TSeconds hoursSummary  = HoursMonth.Aggregate(0, (agr, x) => (agr + x));
            string   formatedValue = FormatUtils.HoursFormat(hoursSummary);

            return(string.Format("{0}: Day FROM: {1}, Day STOP: {2}, Hours in month: {3}",
                                 Code.ToEnum <ArticleResultCode>().GetSymbol(),
                                 PeriodDayFrom.ToString(), PeriodDayStop.ToString(), formatedValue));
        }
コード例 #2
0
 public override string Description()
 {
     return(string.Format("{0}: Day FROM: {1}, Day STOP: {2}",
                          Code.ToEnum <ArticleResultCode>().GetSymbol(),
                          PeriodDayFrom.ToString(), PeriodDayStop.ToString()));
 }