Add property changed filtering events to Configuration
This commit is contained in:
parent
5c73beff4b
commit
4725fe36d1
10 changed files with 397 additions and 194 deletions
|
|
@ -81,11 +81,10 @@ namespace FileLiberator
|
|||
|
||||
LibraryBookDto = LibraryBook.ToDto();
|
||||
|
||||
cancellation =
|
||||
Configuration.Instance
|
||||
.SubscribeToPropertyChanged<long>(
|
||||
nameof(Configuration.DownloadSpeedLimit),
|
||||
(_, s) => DownloadSpeedChanged?.Invoke(this, s));
|
||||
cancellation = Configuration.Instance
|
||||
.ObservePropertyChanged<long>(
|
||||
nameof(Configuration.DownloadSpeedLimit),
|
||||
(_, s) => DownloadSpeedChanged?.Invoke(this, s));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue