Place events before properties
MODIFY
WalletWasabi/Services/UpdateChecker.cs
WalletWasabi/Services/UpdateChecker.cs
@@ -15,6 +15,8 @@ namespace WalletWasabi.Services
{
private UpdateStatus _updateStatus;
+ public event EventHandler<UpdateStatus> UpdateStatusChanged;
+
public WasabiClient WasabiClient { get; }
public UpdateStatus UpdateStatus
@@ -30,8 +32,6 @@ namespace WalletWasabi.Services
}
}
- public event EventHandler<UpdateStatus> UpdateStatusChanged;
-
public UpdateChecker(TimeSpan period, WasabiClient client) : base(period)
{
WasabiClient = Guard.NotNull(nameof(client), client);

Place events before properties