aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Progress/TaskProgress.cs
blob: 1bf135029be4139e8333509c6bf9508481a89c7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace MediaBrowser.Model.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; }
    }
}