public Manager(IReplayStorage storage, IRestApi restApi) { _storage = storage; _restApi = restApi; Files.ItemPropertyChanged += (_, __) => { OnStatusChanged(); }; Files.CollectionChanged += (_, __) => { OnStatusChanged(); }; }
public Manager(IReplayStorage storage) { this._storage = storage; Files.ItemPropertyChanged += (_, __) => { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Status))); PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Aggregates))); }; Files.CollectionChanged += (_, __) => { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Status))); PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Aggregates))); }; }
public Manager(IReplayStorage storage) { this._storage = storage; Files.ItemPropertyChanged += (_, __) => { RefreshStatusAndAggregates(); }; Files.CollectionChanged += (_, __) => { RefreshStatusAndAggregates(); }; }