From 35094529bbf492b6468033845fa20275d4a5b47a Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 4 Nov 2026 11:37:57 +0100 Subject: [PATCH] Refactor: Remove IServiceCollection dependency Removed the IServiceCollection dependency and related code from MessagingServiceApplicationConfiguration.cs. This includes the private property `Services`, the boolean field `_luckyPennySoftLicenseKeyAdded`, and the constructor that initialized `Services`. The `EnsureConfigured` method remains, but its functionality may be impacted by these changes. --- .../MessagingServiceApplicationConfiguration.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/core/DigitalData.MessagingService.Application/DependencyInjection/MessagingServiceApplicationConfiguration.cs b/src/core/DigitalData.MessagingService.Application/DependencyInjection/MessagingServiceApplicationConfiguration.cs index 326ee91..d0e6cf3 100644 --- a/src/core/DigitalData.MessagingService.Application/DependencyInjection/MessagingServiceApplicationConfiguration.cs +++ b/src/core/DigitalData.MessagingService.Application/DependencyInjection/MessagingServiceApplicationConfiguration.cs @@ -1,20 +1,12 @@ #if NET using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; namespace DigitalData.MessagingService.Application.DependencyInjection; public partial class MessagingServiceApplicationConfiguration { - private IServiceCollection Services { get; } - private bool _luckyPennySoftLicenseKeyAdded = false; - internal MessagingServiceApplicationConfiguration(IServiceCollection services) - { - Services = services; - } - internal void EnsureConfigured() { if (!_luckyPennySoftLicenseKeyAdded)