aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Progress/TaskProgress.cs
blob: 78e817397a1b404fc19a4a3ecca9060813847fd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace MediaBrowser.Common.Progress
{
    /// <summary>
    /// Represents a generic progress class that can be used with IProgress
    /// </summary>
    public class TaskProgress
    {
        /// <summary>
        /// Gets or sets the current completion percentage
        /// </summary>
        public decimal PercentComplete { get; set; }

        /// <summary>
        /// Gets or sets a description of the actions currently executing
        /// </summary>
        public string Description { get; set; }
    }
}