mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-04-27 08:40:35 +00:00
Remove init variants :(
This commit is contained in:
@@ -12,29 +12,17 @@
|
||||
/// <summary>
|
||||
/// Filename to report progress for
|
||||
/// </summary>
|
||||
#if NETFRAMEWORK || NETCOREAPP3_1
|
||||
public string? Filename { get; private set; }
|
||||
#else
|
||||
public string? Filename { get; init; }
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Value between 0 and 1 representign the percentage completed
|
||||
/// </summary>
|
||||
#if NETFRAMEWORK || NETCOREAPP3_1
|
||||
public float Percentage { get; private set; }
|
||||
#else
|
||||
public float Percentage { get; init; }
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// Protection information to report
|
||||
/// </summary>
|
||||
#if NETFRAMEWORK || NETCOREAPP3_1
|
||||
public string? Protection { get; private set; }
|
||||
#else
|
||||
public string? Protection { get; init; }
|
||||
#endif
|
||||
|
||||
public ProtectionProgress(string? filename, float percentage, string? protection)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user