This commit is contained in:
2025-08-22 02:19:48 +01:00
commit a4c82452be
373 changed files with 52044 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
namespace MareSynchronos.Utils;
public class ValueProgress<T> : Progress<T>
{
public T? Value { get; set; }
protected override void OnReport(T value)
{
base.OnReport(value);
Value = value;
}
public void Report(T value)
{
OnReport(value);
}
public void Clear()
{
Value = default;
}
}