aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/UpdatePackages/PackageProgressEventArgs.cs
blob: ebf0b23a6bb39f7d1fe321e10ed043da2108710b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.PPC.Common.UpdatePackages
{
    public class PackageProgressEventArgs : EventArgs
    {
        public String PackageName { get; set; }
        public String Message { get; set; }
        public bool IsIntermediate { get; set; }
        public double Progress { get; set; }
        public double Total { get; set; }
    }
}
/// Gets the log message. /// </summary> public override string Message { get; set; } /// <summary> /// Gets or sets the error description. /// </summary> public String Description { get; set; } /// <summary> /// Returns a formatted string of the log item. /// </summary> public override string ToString() { return String.Format("[{0}] [{6}] [{1}] [{2}] [{3}]: {4}{5}", TimeStamp.ToString("HH:mm:ss.ff"), GetRelativeCallerFilePath(), CallerMethodName, CallerLineNumber, Description, Environment.NewLine + Exception.FlattenException(), Category); } } }