Improved event naming

This commit is contained in:
TheXamlGuy
2024-05-12 19:55:20 +01:00
parent 9eafcc55d0
commit f0fd68c16e
56 changed files with 169 additions and 131 deletions
@@ -1,11 +1,11 @@
namespace Toolkit.Foundation;
public class ConfigurationChangedHandler<TConfiguration, TValue>(ConfigurationValue<TConfiguration, TValue> configurationValue) :
INotificationHandler<Changed<TConfiguration>>
INotificationHandler<ChangedEventArgs<TConfiguration>>
where TValue :
class, new()
{
public Task Handle(Changed<TConfiguration> args,
public Task Handle(ChangedEventArgs<TConfiguration> args,
CancellationToken cancellationToken = default)
{
if (args.Value is TConfiguration configuration)