diff --git a/src/modules/powerdisplay/PowerDisplay.Lib/Services/ProfileService.cs b/src/modules/powerdisplay/PowerDisplay.Lib/Services/ProfileService.cs index b49aa50a0a..09b9712d9d 100644 --- a/src/modules/powerdisplay/PowerDisplay.Lib/Services/ProfileService.cs +++ b/src/modules/powerdisplay/PowerDisplay.Lib/Services/ProfileService.cs @@ -17,20 +17,6 @@ namespace PowerDisplay.Common.Services /// Provides unified access to profile data for PowerDisplay, Settings UI, and LightSwitch modules. /// Thread-safe and AOT-compatible. /// - /// - /// Design Note: This class provides both static and instance-based access patterns: - /// - /// Static methods: Direct access for backward compatibility with existing code. Thread-safe with internal locking. - /// Instance methods (via ): For dependency injection consumers. Delegates to static methods internally. - /// - /// Usage Guidelines: - /// - /// New code should prefer DI: serviceProvider.GetService<IProfileService>() - /// Or use the singleton: ProfileService.Instance.LoadProfiles() - /// Static methods remain available for backward compatibility - /// - /// All access patterns are thread-safe and share the same underlying lock. - /// public class ProfileService : IProfileService { private const string LogPrefix = "[ProfileService]";