From b08921a94a0557d43eed849b350820a3e581e503 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 3 Oct 2024 12:52:27 -0400 Subject: [PATCH] Use readonly instead of private set --- BinaryObjectScanner/ProtectionProgress.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BinaryObjectScanner/ProtectionProgress.cs b/BinaryObjectScanner/ProtectionProgress.cs index bee13d6e..27ea7ea6 100644 --- a/BinaryObjectScanner/ProtectionProgress.cs +++ b/BinaryObjectScanner/ProtectionProgress.cs @@ -12,17 +12,17 @@ /// /// Filename to report progress for /// - public string? Filename { get; private set; } + public readonly string? Filename { get; } /// /// Value between 0 and 1 representign the percentage completed /// - public float Percentage { get; private set; } + public readonly float Percentage { get; } /// /// Protection information to report /// - public string? Protection { get; private set; } + public readonly string? Protection { get; } public ProtectionProgress(string? filename, float percentage, string? protection) {