Пример #1
0
        protected void AppendEstimateTime(StringBuilder sb)
        {
            var statService = Server.FindService <StatService>();

            if (statService != null)
            {
                if (statService.HasStatistics(Process.Name))
                {
                    sb.Append("Estimate end time: ");
                    sb.Append(statService.FindEstimateEndTime(Process.Name, Process.StartTime));
                    sb.AppendLine();
                }
            }
        }