mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-05 21:37:10 -04:00
17 lines
313 B
C#
17 lines
313 B
C#
|
#pragma warning disable CS1591
|
||
|
|
||
|
using System;
|
||
|
|
||
|
namespace MediaBrowser.Common.Progress
|
||
|
{
|
||
|
public class SimpleProgress<T> : IProgress<T>
|
||
|
{
|
||
|
public event EventHandler<T> ProgressChanged;
|
||
|
|
||
|
public void Report(T value)
|
||
|
{
|
||
|
ProgressChanged?.Invoke(this, value);
|
||
|
}
|
||
|
}
|
||
|
}
|