recipe name filter
This commit is contained in:
@@ -17,10 +17,14 @@ public partial class StatisticsVM: ObservableObject,IEventHandler<ImageProcessed
|
||||
|
||||
[ObservableProperty] private int _good;
|
||||
[ObservableProperty] private int _bad;
|
||||
[ObservableProperty] private int _total;
|
||||
[ObservableProperty]
|
||||
[NotifyPropertyChangedFor(nameof(ErrorRate))]
|
||||
private int _total;
|
||||
|
||||
[ObservableProperty] private string _statisticsDetails="";
|
||||
|
||||
public string ErrorRate => _bad/(float)_total * 100 + "%";
|
||||
|
||||
private readonly Dictionary<string, int> _errorTypes = new();
|
||||
|
||||
public void Handle(ImageProcessedEvent @event)
|
||||
|
||||
Reference in New Issue
Block a user