Update to BurnOutSharp 1.5.1

This commit is contained in:
Matt Nadareski
2021-01-22 12:03:12 -08:00
parent 5a2e4ca77e
commit 47b5bbe7e7
9 changed files with 18 additions and 17 deletions

View File

@@ -123,7 +123,7 @@ namespace MPF.Check
// Make new Progress objects
var resultProgress = new Progress<Result>();
resultProgress.ProgressChanged += ProgressUpdated;
var protectionProgress = new Progress<FileProtection>();
var protectionProgress = new Progress<ProtectionProgress>();
protectionProgress.ProgressChanged += ProgressUpdated;
// If credentials are invalid, alert the user
@@ -261,7 +261,7 @@ namespace MPF.Check
/// <summary>
/// Simple process counter to write to console
/// </summary>
private static void ProgressUpdated(object sender, FileProtection value)
private static void ProgressUpdated(object sender, ProtectionProgress value)
{
Console.WriteLine($"{value.Percentage * 100:N2}%: {value.Filename} - {value.Protection}");
}