Added IProgress to Kernel.Init

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-07-30 00:06:05 -04:00
parent 5d88dc8575
commit 882e20e9a5
4 changed files with 40 additions and 6 deletions

View File

@@ -0,0 +1,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; }
}
}