From 45e24f623a6cf5d7d9a400b7f8bc07809e8993d0 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 1 Sep 2024 18:42:28 -0500 Subject: use events namespace, rename Events to EventBus --- src/slskd/Transfers/Downloads/DownloadService.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/slskd/Transfers/Downloads/DownloadService.cs b/src/slskd/Transfers/Downloads/DownloadService.cs index ae4062c0..3864c3a5 100644 --- a/src/slskd/Transfers/Downloads/DownloadService.cs +++ b/src/slskd/Transfers/Downloads/DownloadService.cs @@ -1,4 +1,4 @@ -// +// // Copyright (c) slskd Team. All rights reserved. // // This program is free software: you can redistribute it and/or modify @@ -29,6 +29,7 @@ namespace slskd.Transfers.Downloads using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using Serilog; + using slskd.Events; using slskd.Files; using slskd.Integrations.FTP; using slskd.Relay; @@ -131,7 +132,7 @@ namespace slskd.Transfers.Downloads Files = fileService; FTP = ftpClient; Relay = relayService; - Events = eventBus; + EventBus = eventBus; } private ConcurrentDictionary CancellationTokens { get; } = new ConcurrentDictionary(); @@ -142,7 +143,7 @@ namespace slskd.Transfers.Downloads private IRelayService Relay { get; } private ILogger Log { get; } = Serilog.Log.ForContext(); private IOptionsMonitor OptionsMonitor { get; } - private EventBus Events { get; } + private EventBus EventBus { get; } /// /// Adds the specified . Supersedes any existing record for the same file and username. -- cgit v1.2.3