Optimize artifact analyzer UI state sending (#22949)
* Remove n rename cruft old shit * Artifact analyzer UI updating optimization * Revert "Remove n rename cruft old shit" This reverts commit 8789338fb20f77d79c5b0e40719896efe0103fcc.
This commit is contained in:
@@ -46,14 +46,14 @@ public sealed class AnalysisConsoleScanUpdateState : BoundUserInterfaceState
|
||||
|
||||
public bool Scanning;
|
||||
|
||||
public TimeSpan TimeRemaining;
|
||||
public TimeSpan? StartTime;
|
||||
|
||||
public TimeSpan TotalTime;
|
||||
public TimeSpan? TotalTime;
|
||||
|
||||
public int PointAmount;
|
||||
|
||||
public AnalysisConsoleScanUpdateState(NetEntity? artifact, bool analyzerConnected, bool serverConnected, bool canScan, bool canPrint,
|
||||
FormattedMessage? scanReport, bool scanning, TimeSpan timeRemaining, TimeSpan totalTime, int pointAmount)
|
||||
FormattedMessage? scanReport, bool scanning, TimeSpan? startTime, TimeSpan? totalTime, int pointAmount)
|
||||
{
|
||||
Artifact = artifact;
|
||||
AnalyzerConnected = analyzerConnected;
|
||||
@@ -64,7 +64,7 @@ public sealed class AnalysisConsoleScanUpdateState : BoundUserInterfaceState
|
||||
ScanReport = scanReport;
|
||||
|
||||
Scanning = scanning;
|
||||
TimeRemaining = timeRemaining;
|
||||
StartTime = startTime;
|
||||
TotalTime = totalTime;
|
||||
|
||||
PointAmount = pointAmount;
|
||||
|
||||
Reference in New Issue
Block a user