| 1 | # InstallProgress |
| 2 | |
| 3 | Progress payload for dependency installation. |
| 4 | |
| 5 | ```csharp |
| 6 | public sealed class InstallProgress |
| 7 | { |
| 8 | public Component Component { get; } |
| 9 | public uint Progress { get; } |
| 10 | public uint Total { get; } |
| 11 | } |
| 12 | ``` |
| 13 | |
| 14 | Example: |
| 15 | |
| 16 | ```csharp |
| 17 | void PrintInstallProgress(InstallProgress progress) => |
| 18 | Console.WriteLine($"{progress.Component}: {progress.Progress}/{progress.Total}"); |
| 19 | ``` |