Files
speckle-sharp-sdk/tests/Speckle.Sdk.Tests.Unit/UnitTestProgress.cs
T
Adam Hathcock 75d88c5f39 Use IProgress instead of custom type (#131)
* Use IProgress instead of custom type

* Format

* ProgressArgs are a readonly struct

* fix tests
2024-10-02 10:50:49 +01:00

7 lines
155 B
C#

namespace Speckle.Sdk.Tests.Unit;
public class UnitTestProgress<T>(Action<T> handler) : IProgress<T>
{
public void Report(T value) => handler(value);
}