You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
313 B
17 lines
313 B
5 years ago
|
#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);
|
||
|
}
|
||
|
}
|
||
|
}
|