mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
18 lines
344 B
C#
18 lines
344 B
C#
#pragma warning disable CS1591
|
|
#pragma warning disable CA1003
|
|
|
|
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);
|
|
}
|
|
}
|
|
}
|