forked from ZeraGmbH/Blockly.Net
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgressDetails.cs
More file actions
33 lines (28 loc) · 876 Bytes
/
Copy pathProgressDetails.cs
File metadata and controls
33 lines (28 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
namespace BlocklyNet.Scripting.Engine;
/// <summary>
/// Details of a progress information.
/// </summary>
public class ProgressDetails
{
/// <summary>
/// Optional name of the progress.
/// </summary>
public string? Name { get; set; }
/// <summary>
/// Progress value between 0 and 1 - both inclusive.
/// </summary>
public double Progress { get; set; }
/// <summary>
/// The optional progress information depending on the type of script.
/// </summary>
public object? Info { get; set; }
/// <summary>
/// If possible an estimation on long it takes to
/// get to a progress of 1 - in seconds.
/// </summary>
public double? EstimatedRemainingSeconds { get; set; }
/// <summary>
/// Set to hide this progress from the frontend.
/// </summary>
public bool? NoVisualisation { get; set; }
}