Use merge pattern.

This commit is contained in:
2022-03-16 11:47:00 +00:00
parent 5f14f0e79c
commit ff65da6c48
115 changed files with 4810 additions and 5220 deletions

View File

@@ -337,7 +337,7 @@ public sealed class ImageVerifyViewModel : ViewModelBase
ProgressVisible = true;
Progress2Visible = false;
VerifySectorsVisible = _inputFormat is IOpticalMediaImage || _inputFormat is IVerifiableSectorsImage;
VerifySectorsVisible = _inputFormat is IOpticalMediaImage or IVerifiableSectorsImage;
// TODO: Do not offer the option to use this form if the image does not support any kind of verification
new Thread(DoWork).Start();