mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-28 23:42:24 +00:00
Added IProgress to Kernel.Init
This commit is contained in:
parent
5d88dc8575
commit
882e20e9a5
19
MediaBrowser.Common/Progress/TaskProgress.cs
Normal file
19
MediaBrowser.Common/Progress/TaskProgress.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user