From 8e0f1e6715fb7fc08c1d0e9c3086ba242992f833 Mon Sep 17 00:00:00 2001 From: TheXamlGuy Date: Thu, 18 Jul 2024 21:55:01 +0100 Subject: [PATCH] Rename --- Wallet.Avalonia/App.axaml.cs | 2 +- Wallet/{IWalletInactivityTimer.cs => IWalletInactivity.cs} | 2 +- Wallet/{WalletInactivityTimer.cs => WalletInactivity.cs} | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename Wallet/{IWalletInactivityTimer.cs => IWalletInactivity.cs} (67%) rename Wallet/{WalletInactivityTimer.cs => WalletInactivity.cs} (95%) diff --git a/Wallet.Avalonia/App.axaml.cs b/Wallet.Avalonia/App.axaml.cs index 2d3bf0f..5bb1a7f 100644 --- a/Wallet.Avalonia/App.axaml.cs +++ b/Wallet.Avalonia/App.axaml.cs @@ -76,7 +76,7 @@ public partial class App : Application services.AddTransient(_ => provider.GetServices>()); - services.AddInitializer(); + services.AddInitializer(); services.AddTransient(); diff --git a/Wallet/IWalletInactivityTimer.cs b/Wallet/IWalletInactivity.cs similarity index 67% rename from Wallet/IWalletInactivityTimer.cs rename to Wallet/IWalletInactivity.cs index acc3f61..3cb94e5 100644 --- a/Wallet/IWalletInactivityTimer.cs +++ b/Wallet/IWalletInactivity.cs @@ -2,6 +2,6 @@ namespace Wallet; -public interface IWalletInactivityTimer : +public interface IWalletInactivity : IInitialization, IDisposable; diff --git a/Wallet/WalletInactivityTimer.cs b/Wallet/WalletInactivity.cs similarity index 95% rename from Wallet/WalletInactivityTimer.cs rename to Wallet/WalletInactivity.cs index a1e6537..d3bf8de 100644 --- a/Wallet/WalletInactivityTimer.cs +++ b/Wallet/WalletInactivity.cs @@ -3,11 +3,11 @@ using Timer = System.Threading.Timer; namespace Wallet; -public class WalletInactivityTimer(WalletConfiguration configuration, +public class WalletInactivity(WalletConfiguration configuration, IUserInteraction userInteraction, ISubscriber subscriber, IPublisher publisher) : - IWalletInactivityTimer, + IWalletInactivity, INotificationHandler>, INotificationHandler>, INotificationHandler>,