Files
speckle-sharp-connectors/DUI3/Speckle.Connectors.DUI/Models/Card/ModelCardProgress.cs
T
Adam Hathcock 95b3731df2 Fix Navisworks and others progress by yielding to UI thread (#465)
* Navisworks needs proper Async to update UI thread inline

* Tested Autocad and Rhino

* format and fix

* ArcGIS should yield too

* async/await for Tekla and ETABs
2024-12-31 15:04:25 +00:00

11 lines
363 B
C#

namespace Speckle.Connectors.DUI.Models.Card;
/// <summary>
/// Progress value between 0 and 1 to calculate UI progress bar width.
/// If it is null it will swooshing on UI.
/// </summary>
public record ModelCardProgress(string ModelCardId, string Status, double? Progress)
{
public override string ToString() => $"{ModelCardId} - {Status} - {Progress}";
}