From 912b49ecc482e074877a7530d061caf0f9692bce Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 8 Dec 2022 22:37:57 -0800 Subject: [PATCH] Cleanup `ProtectionProgress` --- BurnOutSharp/ProtectionProgress.cs | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/BurnOutSharp/ProtectionProgress.cs b/BurnOutSharp/ProtectionProgress.cs index 163d2d0a..6330e740 100644 --- a/BurnOutSharp/ProtectionProgress.cs +++ b/BurnOutSharp/ProtectionProgress.cs @@ -1,9 +1,23 @@ namespace BurnOutSharp { - public class ProtectionProgress + /// + /// Struct representing protection scanning progress + /// + public struct ProtectionProgress { + /// + /// Filename to report progress for + /// public string Filename { get; private set; } + + /// + /// Value between 0 and 1 representign the percentage completed + /// public float Percentage { get; private set; } + + /// + /// Protection information to report + /// public string Protection { get; private set; } public ProtectionProgress(string filename, float percentage, string protection)