From 459b30fccf7df92dda67b181dda05a0ca5cf8a72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Sun, 21 Mar 2021 17:17:39 +0300 Subject: [PATCH] Rename NewEventDetectorWorker to align the names. --- .../EventHubBackgroundServicesModule.cs | 2 +- .../Events/{NewEventDetectorWorker.cs => NewEventWorker.cs} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/EventHub.BackgroundServices/Events/{NewEventDetectorWorker.cs => NewEventWorker.cs} (93%) diff --git a/src/EventHub.BackgroundServices/EventHubBackgroundServicesModule.cs b/src/EventHub.BackgroundServices/EventHubBackgroundServicesModule.cs index 6804a1f..923993c 100644 --- a/src/EventHub.BackgroundServices/EventHubBackgroundServicesModule.cs +++ b/src/EventHub.BackgroundServices/EventHubBackgroundServicesModule.cs @@ -25,7 +25,7 @@ namespace EventHub public override void OnApplicationInitialization(ApplicationInitializationContext context) { context.AddBackgroundWorker(); - context.AddBackgroundWorker(); + context.AddBackgroundWorker(); context.AddBackgroundWorker(); } } diff --git a/src/EventHub.BackgroundServices/Events/NewEventDetectorWorker.cs b/src/EventHub.BackgroundServices/Events/NewEventWorker.cs similarity index 93% rename from src/EventHub.BackgroundServices/Events/NewEventDetectorWorker.cs rename to src/EventHub.BackgroundServices/Events/NewEventWorker.cs index 24cb51e..34348f3 100644 --- a/src/EventHub.BackgroundServices/Events/NewEventDetectorWorker.cs +++ b/src/EventHub.BackgroundServices/Events/NewEventWorker.cs @@ -11,9 +11,9 @@ using Volo.Abp.Uow; namespace EventHub.Events { - public class NewEventDetectorWorker : AsyncPeriodicBackgroundWorkerBase + public class NewEventWorker : AsyncPeriodicBackgroundWorkerBase { - public NewEventDetectorWorker( + public NewEventWorker( AbpAsyncTimer timer, IServiceScopeFactory serviceScopeFactory) : base(